ah, this change broke multiple test cases

This commit is contained in:
Daniel Stenberg 2003-09-04 13:07:09 +00:00
Родитель 2956fe97a0
Коммит f2057eb744
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -162,8 +162,6 @@ void Curl_http_auth_act(struct connectdata *conn)
{
struct SessionHandle *data = conn->data;
data->state.authwant = CURLAUTH_NONE; /* clear it first */
if(data->state.authavail) {
if(data->state.authavail & CURLAUTH_GSSNEGOTIATE)
data->state.authwant = CURLAUTH_GSSNEGOTIATE;
@ -173,6 +171,8 @@ void Curl_http_auth_act(struct connectdata *conn)
data->state.authwant = CURLAUTH_NTLM;
else if(data->state.authavail & CURLAUTH_BASIC)
data->state.authwant = CURLAUTH_BASIC;
else
data->state.authwant = CURLAUTH_NONE; /* clear it */
if(data->state.authwant)
conn->newurl = strdup(data->change.url); /* clone URL */