fixed the Curl_cookie_add() invoke to not assume a space after the colon
authorDaniel Stenberg <daniel@haxx.se>
Mon, 29 Jul 2002 22:23:55 +0000 (22:23 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 29 Jul 2002 22:23:55 +0000 (22:23 +0000)
lib/transfer.c

index d36c90f..f266a4a 100644 (file)
@@ -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:")) &&