]> granicus.if.org Git - curl/commitdiff
remove the typecast to long from time_t, since we now store it as curl_off_t
authorDaniel Stenberg <daniel@haxx.se>
Wed, 17 Aug 2005 09:11:27 +0000 (09:11 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 17 Aug 2005 09:11:27 +0000 (09:11 +0000)
lib/cookie.c

index 0f6d681db5bf39b4aba5d58c912de293366d4895..a8519c4e3aebb08934c3aa7ede2960685cade400 100644 (file)
@@ -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);