From 32afaaef9342c5d599db295fe06c06f0678ed75d Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 16 Nov 2012 19:22:12 +0100 Subject: Fix the libauthretry changes from 7c0cbcf2f61 They broke the NTLM tests from 2023 to 2031. --- tests/libtest/libauthretry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/libtest/libauthretry.c') 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; } -- cgit v1.2.3