aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index c42970c58..dc628982b 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -627,7 +627,7 @@ Transfer(struct connectdata *c_conn)
(data->set.timecondition || data->set.get_filetime) ) {
time_t secs=time(NULL);
timeofdoc = curl_getdate(p+strlen("Last-Modified:"), &secs);
- if(data->set.get_filetime)
+ if(data->set.get_filetime>=0)
data->info.filetime = timeofdoc;
}
else if ((httpcode >= 300 && httpcode < 400) &&