projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ac8278
)
Fix the libauthretry changes from 7c0cbcf2f61
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 16 Nov 2012 18:22:12 +0000
(19:22 +0100)
committer
Daniel 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
patch
|
blob
|
history
diff --git
a/tests/libtest/libauthretry.c
b/tests/libtest/libauthretry.c
index
b7d36fe
..
0b0816e
100644
(file)
--- 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;
}