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
1 changed files with 1 additions and 1 deletions

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*/