]> sjero.net Git - wget/blobdiff - src/http.c
--no-match-server-timestamps -> --no-use-server-timestamps
[wget] / src / http.c
index c7de37d81a90e2885558ee5451624bdb4aad0ba0..b0a9f2464d0f26744b69be9c615212472f47b325 100644 (file)
@@ -2909,7 +2909,8 @@ Remote file exists.\n\n"));
             } /* send_head_first */
         } /* !got_head */
 
-      if ((tmr != (time_t) (-1))
+      if (opt.useservertimestamps
+          && (tmr != (time_t) (-1))
           && ((hstat.len == hstat.contlen) ||
               ((hstat.res == 0) && (hstat.contlen == -1))))
         {