diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-09-25 20:26:44 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-09-25 20:26:44 +0000 |
commit | af9ce990f0a418a22f171f89da9bc58f4637e9ee (patch) | |
tree | d72d5e6257d82b174b6873c0b5fd7f2f375e8a93 /lib/cookie.c | |
parent | e3d623f190bc582e6058be12e3568424ca206d27 (diff) |
minor whitespace edit
Diffstat (limited to 'lib/cookie.c')
-rw-r--r-- | lib/cookie.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/cookie.c b/lib/cookie.c index 5188f6b0a..b79d1b07b 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -365,12 +365,12 @@ Curl_cookie_add(struct SessionHandle *data, get parsed for whatever reason. This will have the effect that the cookie won't match. */ co->expires = curl_getdate(what, &now); - + /* Session cookies have expires set to 0 so if we get that back - from the date parser let's add a second to make it a + from the date parser let's add a second to make it a non-session cookie */ if (co->expires == 0) - co->expires = 1; + co->expires = 1; } else if(!co->name) { co->name = strdup(name); |