diff --git a/lib/transfer.c b/lib/transfer.c index d36c90fce..f266a4a3b 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -589,7 +589,7 @@ CURLcode Curl_readwrite(struct connectdata *conn, } else if(data->cookies && strnequal("Set-Cookie:", k->p, 11)) { - Curl_cookie_add(data->cookies, TRUE, k->p+12, conn->name); + Curl_cookie_add(data->cookies, TRUE, k->p+11, conn->name); } else if(strnequal("Last-Modified:", k->p, strlen("Last-Modified:")) &&