summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-02-28 05:34:19 +0000
committerMartin Pool <mbp@samba.org>2003-02-28 05:34:19 +0000
commite443560789b5fc1d47e4008680e0484e002ad15d (patch)
tree6eb24877671eec009cad9fc668adc55e86fce5ad /source3/lib
parente7ff3803a385925b52f09526d2bbc8ca479d2ae4 (diff)
downloadsamba-e443560789b5fc1d47e4008680e0484e002ad15d.tar.gz
samba-e443560789b5fc1d47e4008680e0484e002ad15d.tar.bz2
samba-e443560789b5fc1d47e4008680e0484e002ad15d.zip
Doxygen janitor: add note that strequal is in fact case-insensitive.
(This used to be commit a4b9c5c2576c80a5f60d47d178b9b8c50d348893)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index cc4b6fe5c5..070c59c1b2 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -164,9 +164,10 @@ int StrnCaseCmp(const char *s, const char *t, size_t n)
}
/**
- Compare 2 strings.
-**/
-
+ * Compare 2 strings.
+ *
+ * @note The comparison is case-insensitive.
+ **/
BOOL strequal(const char *s1, const char *s2)
{
if (s1 == s2)
@@ -178,9 +179,10 @@ BOOL strequal(const char *s1, const char *s2)
}
/**
- Compare 2 strings up to and including the nth char.
-**/
-
+ * Compare 2 strings up to and including the nth char.
+ *
+ * @note The comparison is case-insensitive.
+ **/
BOOL strnequal(const char *s1,const char *s2,size_t n)
{
if (s1 == s2)