url.c: Use CURLAUTH_NONE constant rather than 0
Small follow up to commit 898808fa8c
to use auth constants rather than
hard code value when clearing picked authentication mechanism.
This commit is contained in:
parent
e40197315d
commit
21db158722
@ -5608,12 +5608,12 @@ static CURLcode create_conn(struct SessionHandle *data,
|
||||
if((data->state.authhost.picked & (CURLAUTH_NTLM | CURLAUTH_NTLM_WB)) &&
|
||||
data->state.authhost.done) {
|
||||
infof(data, "NTLM picked AND auth done set, clear picked!\n");
|
||||
data->state.authhost.picked = 0;
|
||||
data->state.authhost.picked = CURLAUTH_NONE;
|
||||
}
|
||||
if((data->state.authproxy.picked & (CURLAUTH_NTLM | CURLAUTH_NTLM_WB)) &&
|
||||
data->state.authproxy.done) {
|
||||
infof(data, "NTLM-proxy picked AND auth done set, clear picked!\n");
|
||||
data->state.authproxy.picked = 0;
|
||||
data->state.authproxy.picked = CURLAUTH_NONE;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user