aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-05-28 19:13:44 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-05-31 11:32:29 +0300
commit75cb9ff49c7ac9bde35cdf8c6f4a0c12a8e76f05 (patch)
treecfb518fe75561f82c24a08b897412d906885c6b9
parent8d9eb70d7a040c7aa6d77524a706a4ded147988b (diff)
downloadlibmicrohttpd-75cb9ff49c7ac9bde35cdf8c6f4a0c12a8e76f05.tar.gz
libmicrohttpd-75cb9ff49c7ac9bde35cdf8c6f4a0c12a8e76f05.zip
mhd_str: corrected doxy
-rw-r--r--src/microhttpd/mhd_str.c7
-rw-r--r--src/microhttpd/mhd_str.h7
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,
434 434
435/** 435/**
436 * Check two string for equality, ignoring case of US-ASCII letters and 436 * Check two string for equality, ignoring case of US-ASCII letters and
437 * checking exactly @a len characters. 437 * checking not more than @a len bytes.
438 * Compares exactly @a len characters, including binary zero characters. 438 * Compares not more first than @a len bytes, including binary zero characters.
439 * Comparison stops at first unmatched byte.
439 * @param str1 first string to compare 440 * @param str1 first string to compare
440 * @param str2 second string to compare 441 * @param str2 second string to compare
441 * @param len number of characters to compare 442 * @param len number of characters to compare
442 * @return non-zero if two strings are equal, zero otherwise. 443 * @return non-zero if @a len bytes are equal, zero otherwise.
443 */ 444 */
444bool 445bool
445MHD_str_equal_caseless_bin_n_ (const char *const str1, 446MHD_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,
108 108
109/** 109/**
110 * Check two string for equality, ignoring case of US-ASCII letters and 110 * Check two string for equality, ignoring case of US-ASCII letters and
111 * checking exactly @a len characters. 111 * checking not more than @a len bytes.
112 * Compares exactly @a len characters, including binary zero characters. 112 * Compares not more first than @a len bytes, including binary zero characters.
113 * Comparison stops at first unmatched byte.
113 * @param str1 first string to compare 114 * @param str1 first string to compare
114 * @param str2 second string to compare 115 * @param str2 second string to compare
115 * @param len number of characters to compare 116 * @param len number of characters to compare
116 * @return non-zero if two strings are equal, zero otherwise. 117 * @return non-zero if @a len bytes are equal, zero otherwise.
117 */ 118 */
118bool 119bool
119MHD_str_equal_caseless_bin_n_ (const char *const str1, 120MHD_str_equal_caseless_bin_n_ (const char *const str1,