]> granicus.if.org Git - curl/commitdiff
support sending off cookies without contents
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Aug 2003 09:55:48 +0000 (09:55 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 Aug 2003 09:55:48 +0000 (09:55 +0000)
lib/http.c

index 277e9026637600ac4e38644a61cd9f85d9a19752..a59ed8ac1446887640f72c987d802f79ad2d74f8 100644 (file)
@@ -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: ");
           }