X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=5fdff618396bd5926d77f24f570afd0a0ded180d;hp=c7de37d81a90e2885558ee5451624bdb4aad0ba0;hb=1f08245076f245547b00b1a6cc2dff0198c1dfab;hpb=8798e255339f2bf958daa69380846f1c9946d8f7 diff --git a/src/http.c b/src/http.c index c7de37d8..5fdff618 100644 --- a/src/http.c +++ b/src/http.c @@ -2909,7 +2909,8 @@ Remote file exists.\n\n")); } /* send_head_first */ } /* !got_head */ - if ((tmr != (time_t) (-1)) + if (opt.matchservertimestamps + && (tmr != (time_t) (-1)) && ((hstat.len == hstat.contlen) || ((hstat.res == 0) && (hstat.contlen == -1)))) {