blob: d6e0708050741cfbf05e32e76444eaef240d9083 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- ./lib/url.c.orig 2014-01-14 16:21:29.832088000 +0200
+++ ./lib/url.c 2014-01-14 16:32:43.074018000 +0200
@@ -3103,8 +3103,8 @@ ConnectionExists(struct SessionHandle *d
}
if((needle->handler->protocol & CURLPROTO_FTP) ||
((needle->handler->protocol & CURLPROTO_HTTP) &&
- ((data->state.authhost.want==CURLAUTH_NTLM) ||
- (data->state.authhost.want==CURLAUTH_NTLM_WB)))) {
+ ((data->state.authhost.want & CURLAUTH_NTLM) ||
+ (data->state.authhost.want & CURLAUTH_NTLM_WB)))) {
/* This is FTP or HTTP+NTLM, verify that we're using the same name
and password as well */
if(!strequal(needle->user, check->user) ||
|