summaryrefslogtreecommitdiffstats
path: root/wsutil/wmem/wmem_strutl.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
commitc4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch)
tree93d5c6aa93d9987680dd1adad5685e2ad698f223 /wsutil/wmem/wmem_strutl.h
parentAdding upstream version 4.2.6. (diff)
downloadwireshark-upstream.tar.xz
wireshark-upstream.zip
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--wsutil/wmem/wmem_strutl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/wmem/wmem_strutl.h b/wsutil/wmem/wmem_strutl.h
index ee3aed65..104a1eba 100644
--- a/wsutil/wmem/wmem_strutl.h
+++ b/wsutil/wmem/wmem_strutl.h
@@ -65,8 +65,8 @@ G_GNUC_MALLOC;
* @param needle The string to look for
* @param needle_len The length of the search string
* @return A pointer to the first occurrence of "needle" in
- * "haystack". If "needle" isn't found or is NULL, or if
- * "needle_len" is 0, NULL is returned.
+ * "haystack". If "needle" isn't found or is NULL, NULL is returned.
+ * If "needle_len" is 0, a pointer to "haystack" is returned.
*/
WS_DLL_PUBLIC
const uint8_t *ws_memmem(const void *haystack, size_t haystack_len,