]> sjero.net Git - wget/blobdiff - src/http.c
--no-match-server-timestamps
[wget] / src / http.c
index c7de37d81a90e2885558ee5451624bdb4aad0ba0..5fdff618396bd5926d77f24f570afd0a0ded180d 100644 (file)
@@ -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))))
         {