diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-08-17 09:11:27 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-08-17 09:11:27 +0000 |
commit | 90e1a6905af29782c3bc7f106754d0908c074348 (patch) | |
tree | d58a7f8f817def47531afecc4d8c3f355c1463b5 | |
parent | c36af24cbd00a45cf9294e87bf911e87c5b68a07 (diff) |
remove the typecast to long from time_t, since we now store it as curl_off_t
-rw-r--r-- | lib/cookie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cookie.c b/lib/cookie.c index 0f6d681db..a8519c4e3 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -343,7 +343,7 @@ Curl_cookie_add(struct SessionHandle *data, badcookie = TRUE; break; } - co->expires = (long)curl_getdate(what, &now); + co->expires = curl_getdate(what, &now); } else if(!co->name) { co->name = strdup(name); |