Fix the libauthretry changes from 7c0cbcf2f61
authorFabian Keil <fk@fabiankeil.de>
Fri, 16 Nov 2012 18:22:12 +0000 (19:22 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Nov 2012 19:09:02 +0000 (20:09 +0100)
They broke the NTLM tests from 2023 to 2031.

tests/libtest/libauthretry.c

index b7d36fe..0b0816e 100644 (file)
@@ -72,11 +72,11 @@ static long parse_auth_name(const char *arg)
 {
   if (!arg)
     return CURLAUTH_NONE;
-  if (strequal(arg, "basic") == 0)
+  if (strequal(arg, "basic"))
     return CURLAUTH_BASIC;
-  if (strequal(arg, "digest") == 0)
+  if (strequal(arg, "digest"))
     return CURLAUTH_DIGEST;
-  if (strequal(arg, "ntlm") == 0)
+  if (strequal(arg, "ntlm"))
     return CURLAUTH_NTLM;
   return CURLAUTH_NONE;
 }