aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
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;
}