diff options
-rw-r--r-- | lib/http_digest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c index 9d1864f1d..9d5864496 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*/ |