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:
Steve Holme 2014-09-06 22:22:22 +01:00
parent e40197315d
commit 21db158722

View File

@ -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;
}
}