]> sjero.net Git - wget/blobdiff - src/http.c
Better messages for --spider without -r.
[wget] / src / http.c
index 6cc46616e9ef39685d6fd2bb08a923c0f64c2a9b..ec815c8ff5061dddc36ebdfbe7073f630185b473 100644 (file)
@@ -2673,8 +2673,17 @@ Remote file exists but does not contain any link -- not retrieving.\n\n"));
                     }
                   else
                     {
-                      logprintf (LOG_VERBOSE, _("\
-Remote file exists but recursion is disabled -- not retrieving.\n\n"));
+                      if (*dt & TEXTHTML)
+                        {
+                          logprintf (LOG_VERBOSE, _("\
+Remote file exists and could contain further links,\n\
+but recursion is disabled -- not retrieving.\n\n"));
+                        }
+                      else 
+                        {
+                          logprintf (LOG_VERBOSE, _("\
+Remote file exists.\n\n"));
+                        }
                       ret = RETROK; /* RETRUNNEEDED is not for caller. */
                       goto exit;
                     }