aboutsummaryrefslogtreecommitdiff
path: root/lib/highlevel.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-22 13:50:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-22 13:50:17 +0000
commitb5739b3a97318ee52b5069b305e43ea972621b0c (patch)
tree3aaee27a94da752bd37270ccfc04d78a34e58010 /lib/highlevel.c
parent86d4488cc7e8ccd3406b121066f8f6c8b7c7660d (diff)
document time fixes
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)