aboutsummaryrefslogtreecommitdiff
path: root/lib/highlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/highlevel.c')
-rw-r--r--lib/highlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/highlevel.c b/lib/highlevel.c
index e77c7eba4..dc7acc130 100644
--- a/lib/highlevel.c
+++ b/lib/highlevel.c
@@ -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)