diff options
Diffstat (limited to 'source4/torture/nbt')
-rw-r--r-- | source4/torture/nbt/register.c | 2 | ||||
-rw-r--r-- | source4/torture/nbt/wins.c | 2 |
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; \ |