aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-30 05:53:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-30 05:53:42 +0000
commit1756499b11cdd3bad84df074a7aed0f07db09638 (patch)
tree3997353d7bab6410cae1f998f9272ee800e9e430 /lib
parent15f9a93c25ac3ff26dfd1b85e3f746ef1efe0254 (diff)
oops, a bad strtok() was fixed by Luca
Diffstat (limited to 'lib')
-rw-r--r--lib/http_digest.c2
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*/