projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b29017f
)
CURL_TIMECOND_IFMODSINCE actually requires that the remote document has been
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 5 Oct 2005 06:09:20 +0000
(06:09 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 5 Oct 2005 06:09:20 +0000
(06:09 +0000)
modded since the given time, so we should compare <= and not just <.
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index
64b903f
..
c9fa72e
100644
(file)
--- a/
lib/ftp.c
+++ b/
lib/ftp.c
@@
-1798,7
+1798,7
@@
static CURLcode ftp_state_mdtm_resp(struct connectdata *conn,
switch(data->set.timecondition) {
case CURL_TIMECOND_IFMODSINCE:
default:
- if(data->info.filetime < data->set.timevalue) {
+ if(data->info.filetime <
=
data->set.timevalue) {
infof(data, "The requested document is not new enough\n");
ftp->no_transfer = TRUE; /* mark this to not transfer data */
state(conn, FTP_STOP);