1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

oops, a bad strtok() was fixed by Luca

This commit is contained in:
Daniel Stenberg 2004-04-30 05:53:42 +00:00
parent 15f9a93c25
commit 1756499b11

View File

@ -123,7 +123,7 @@ CURLdigest Curl_input_digest(struct connectdata *conn,
else if (strequal(token, "auth-int")) {
foundAuthInt = TRUE;
}
token = strtok (NULL, ",");
token = strtok_r(NULL, ",", &tok_buf);
}
free(tmp);
/*select only auth o auth-int. Otherwise, ignore*/