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 0f6d681..a8519c4 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);