aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-11 09:55:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-11 09:55:48 +0000
commit2dd1518d630e3fa0857d3086c75948bf26f6c833 (patch)
treed8600466d201dbe214b2205cfe7b9d6fefde5c38 /lib
parent168703b7bf51743c3d8990fef9d2330194cfd459 (diff)
support sending off cookies without contents
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 277e90266..a59ed8ac1 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: ");
}