aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-07-29 22:23:55 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-07-29 22:23:55 +0000
commit7313501e30a58bcda30df802ec86c010685ee715 (patch)
treef9832137d03dd1d18c8743c96680cd072b3ffc23 /lib/transfer.c
parentd8b2c819e7b96d1fed4bd9921a200899bde80034 (diff)
fixed the Curl_cookie_add() invoke to not assume a space after the colon
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
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:")) &&