From 2dd1518d630e3fa0857d3086c75948bf26f6c833 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg <daniel@haxx.se> Date: Mon, 11 Aug 2003 09:55:48 +0000 Subject: [PATCH] support sending off cookies without contents --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: "); } -- GitLab