mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 07:38:49 -05:00
remove the typecast to long from time_t, since we now store it as curl_off_t
This commit is contained in:
parent
c36af24cbd
commit
90e1a6905a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user