mirror of
https://github.com/curl/curl.git
synced 2026-06-03 18:14:16 +03:00
removed silly check for >=0 of a supposedly unsigned value!
This commit is contained in:
parent
bd878756fc
commit
1de82b220d
1 changed files with 1 additions and 1 deletions
|
|
@ -522,7 +522,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||
time_t secs=time(NULL);
|
||||
k->timeofdoc = curl_getdate(k->p+strlen("Last-Modified:"),
|
||||
&secs);
|
||||
if(data->set.get_filetime>=0)
|
||||
if(data->set.get_filetime)
|
||||
data->info.filetime = k->timeofdoc;
|
||||
}
|
||||
else if ((k->httpcode >= 300 && k->httpcode < 400) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue