Skip to content

Commit

Permalink
url.c: Use CURLAUTH_NONE constant rather than 0
Browse files Browse the repository at this point in the history
Small follow up to commit 898808f to use auth constants rather than
hard code value when clearing picked authentication mechanism.
  • Loading branch information
captain-caveman2k committed Sep 6, 2014
1 parent e401973 commit 21db158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/url.c
Expand Up @@ -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;
}

}
Expand Down

0 comments on commit 21db158

Please sign in to comment.