From: Daniel Stenberg Date: Mon, 11 Aug 2003 09:55:48 +0000 (+0000) Subject: support sending off cookies without contents X-Git-Tag: curl-7_10_7~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2dd1518d630e3fa0857d3086c75948bf26f6c833;p=thirdparty%2Fcurl.git support sending off cookies without contents --- diff --git a/lib/http.c b/lib/http.c index 277e902663..a59ed8ac14 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1030,7 +1030,7 @@ CURLcode Curl_http(struct connectdata *conn) struct Cookie *store=co; /* now loop through all cookies that matched */ while(co) { - if(co->value && strlen(co->value)) { + if(co->value) { if(0 == count) { add_bufferf(req_buffer, "Cookie: "); }