support sending off cookies without contents

This commit is contained in:
Daniel Stenberg 2003-08-11 09:55:48 +00:00
parent 168703b7bf
commit 2dd1518d63
1 changed files with 1 additions and 1 deletions

View 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: ");
}