summaryrefslogtreecommitdiff
path: root/source4/torture/nbt
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-30 11:55:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:35:01 -0500
commitb674411eb46c9e45f2740a1f9bac365e9a347e9c (patch)
tree02cac6467a11c9c3600295d61f57d6259cc6580b /source4/torture/nbt
parentb75ca9aa2cf9a932547228458e0b3ad8e1053826 (diff)
downloadsamba-b674411eb46c9e45f2740a1f9bac365e9a347e9c.tar.gz
samba-b674411eb46c9e45f2740a1f9bac365e9a347e9c.tar.bz2
samba-b674411eb46c9e45f2740a1f9bac365e9a347e9c.zip
r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m! (This used to be commit 200a8f6652cb2de7a8037a7a4c2a204b50aee2b1)
Diffstat (limited to 'source4/torture/nbt')
-rw-r--r--source4/torture/nbt/register.c2
-rw-r--r--source4/torture/nbt/wins.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/nbt/register.c b/source4/torture/nbt/register.c
index b35808c844..4b5931d341 100644
--- a/source4/torture/nbt/register.c
+++ b/source4/torture/nbt/register.c
@@ -33,7 +33,7 @@
}} while (0)
#define CHECK_STRING(v, correct) do { \
- if (StrCaseCmp(v, correct) != 0) { \
+ if (strcasecmp_m(v, correct) != 0) { \
printf("(%s) Incorrect value %s='%s' - should be '%s'\n", \
__location__, #v, v, correct); \
ret = False; \
diff --git a/source4/torture/nbt/wins.c b/source4/torture/nbt/wins.c
index 852147786e..b762c83609 100644
--- a/source4/torture/nbt/wins.c
+++ b/source4/torture/nbt/wins.c
@@ -34,7 +34,7 @@
#define CHECK_STRING(v, correct) do { \
if ((v) != (correct) && \
- ((v)==NULL || (correct)==NULL || StrCaseCmp(v, correct) != 0)) { \
+ ((v)==NULL || (correct)==NULL || strcasecmp_m(v, correct) != 0)) { \
printf("(%s) Incorrect value %s='%s' - should be '%s'\n", \
__location__, #v, v, correct); \
ret = False; \