aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorFabian Keil <fk@fabiankeil.de>2012-11-16 19:22:12 +0100
committerDaniel Stenberg <daniel@haxx.se>2012-11-16 20:09:02 +0100
commit32afaaef9342c5d599db295fe06c06f0678ed75d (patch)
treea56ad214904fe917b17cc7312dae1e68b94c5797 /tests/libtest
parent0ac827848dd1747c8199f338d71a32111bb01fa5 (diff)
Fix the libauthretry changes from 7c0cbcf2f61
They broke the NTLM tests from 2023 to 2031.
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/libauthretry.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libtest/libauthretry.c b/tests/libtest/libauthretry.c
index b7d36fe1a..0b0816eab 100644
--- a/tests/libtest/libauthretry.c
+++ b/tests/libtest/libauthretry.c
@@ -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;
}