mirror of
https://github.com/curl/curl.git
synced 2026-07-29 05:03:06 +03:00
time_t-fixes: remove typecasts to 'long' for info.filetime
They're now wrong. Reported-by: Michael Kaufmann Closes #2277
This commit is contained in:
parent
9409d0c26c
commit
ddd31dc5dd
5 changed files with 11 additions and 11 deletions
|
|
@ -3692,7 +3692,7 @@ CURLcode Curl_http_readwrite_headers(struct Curl_easy *data,
|
|||
k->timeofdoc = curl_getdate(k->p + strlen("Last-Modified:"),
|
||||
&secs);
|
||||
if(data->set.get_filetime)
|
||||
data->info.filetime = (long)k->timeofdoc;
|
||||
data->info.filetime = k->timeofdoc;
|
||||
}
|
||||
else if((checkprefix("WWW-Authenticate:", k->p) &&
|
||||
(401 == k->httpcode)) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue