gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 01/04: mhd_str: corrected doxy


From: gnunet
Subject: [libmicrohttpd] 01/04: mhd_str: corrected doxy
Date: Tue, 31 May 2022 10:50:01 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 75cb9ff49c7ac9bde35cdf8c6f4a0c12a8e76f05
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat May 28 19:13:44 2022 +0300

    mhd_str: corrected doxy
---
 src/microhttpd/mhd_str.c | 7 ++++---
 src/microhttpd/mhd_str.h | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/microhttpd/mhd_str.c b/src/microhttpd/mhd_str.c
index ff8b4e3e..7a337574 100644
--- a/src/microhttpd/mhd_str.c
+++ b/src/microhttpd/mhd_str.c
@@ -434,12 +434,13 @@ MHD_str_equal_caseless_n_ (const char *const str1,
 
 /**
  * Check two string for equality, ignoring case of US-ASCII letters and
- * checking exactly @a len characters.
- * Compares exactly @a len characters, including binary zero characters.
+ * checking not more than @a len bytes.
+ * Compares not more first than @a len bytes, including binary zero characters.
+ * Comparison stops at first unmatched byte.
  * @param str1 first string to compare
  * @param str2 second string to compare
  * @param len number of characters to compare
- * @return non-zero if two strings are equal, zero otherwise.
+ * @return non-zero if @a len bytes are equal, zero otherwise.
  */
 bool
 MHD_str_equal_caseless_bin_n_ (const char *const str1,
diff --git a/src/microhttpd/mhd_str.h b/src/microhttpd/mhd_str.h
index 851fabb7..82d2d606 100644
--- a/src/microhttpd/mhd_str.h
+++ b/src/microhttpd/mhd_str.h
@@ -108,12 +108,13 @@ MHD_str_equal_caseless_n_ (const char *const str1,
 
 /**
  * Check two string for equality, ignoring case of US-ASCII letters and
- * checking exactly @a len characters.
- * Compares exactly @a len characters, including binary zero characters.
+ * checking not more than @a len bytes.
+ * Compares not more first than @a len bytes, including binary zero characters.
+ * Comparison stops at first unmatched byte.
  * @param str1 first string to compare
  * @param str2 second string to compare
  * @param len number of characters to compare
- * @return non-zero if two strings are equal, zero otherwise.
+ * @return non-zero if @a len bytes are equal, zero otherwise.
  */
 bool
 MHD_str_equal_caseless_bin_n_ (const char *const str1,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]