From: Daniel Stenberg Date: Fri, 30 Apr 2004 05:53:42 +0000 (+0000) Subject: oops, a bad strtok() was fixed by Luca X-Git-Tag: curl-7_12_0~238 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1756499b11cdd3bad84df074a7aed0f07db09638;p=thirdparty%2Fcurl.git oops, a bad strtok() was fixed by Luca --- diff --git a/lib/http_digest.c b/lib/http_digest.c index 9d1864f1d9..9d5864496e 100644 --- a/lib/http_digest.c +++ b/lib/http_digest.c @@ -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*/