diff options
author | Fabian Keil <fk@fabiankeil.de> | 2012-11-16 19:22:12 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-11-16 20:09:02 +0100 |
commit | 32afaaef9342c5d599db295fe06c06f0678ed75d (patch) | |
tree | a56ad214904fe917b17cc7312dae1e68b94c5797 /tests/libtest/libauthretry.c | |
parent | 0ac827848dd1747c8199f338d71a32111bb01fa5 (diff) | |
download | curl-32afaaef9342c5d599db295fe06c06f0678ed75d.tar.gz |
Fix the libauthretry changes from 7c0cbcf2f61
They broke the NTLM tests from 2023 to 2031.
Diffstat (limited to 'tests/libtest/libauthretry.c')
-rw-r--r-- | tests/libtest/libauthretry.c | 6 |
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; } |