document time fixes

This commit is contained in:
Daniel Stenberg
2000-11-22 13:50:17 +00:00
parent 86d4488cc7
commit b5739b3a97
4 changed files with 29 additions and 4 deletions

View File

@@ -395,7 +395,7 @@ _Transfer(struct connectdata *c_conn)
}
else if(strnequal("Last-Modified:", p,
strlen("Last-Modified:")) &&
data->timecondition) {
(data->timecondition || data->bits.get_filetime) ) {
time_t secs=time(NULL);
timeofdoc = curl_getdate(p+strlen("Last-Modified:"), &secs);
if(data->bits.get_filetime)