From 1756499b11cdd3bad84df074a7aed0f07db09638 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 30 Apr 2004 05:53:42 +0000 Subject: [PATCH] oops, a bad strtok() was fixed by Luca --- lib/http_digest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*/