From: Micah Cowan Date: Mon, 11 Feb 2008 22:55:25 +0000 (-0800) Subject: Better messages for --spider without -r. X-Git-Tag: v1.13~447 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=af6517900e8871a6f185e96671b3140b940f3548 Better messages for --spider without -r. --- diff --git a/src/ChangeLog b/src/ChangeLog index dedc7967..c78ee268 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-02-11 Benno Schulenberg + + * http.c: More accurate and descriptive messages for when a file + won't be retrieved during spider-mode. + 2008-02-10 Micah Cowan * http.c: Added existence_checked member to the http_stat diff --git a/src/http.c b/src/http.c index 6cc46616..ec815c8f 100644 --- a/src/http.c +++ b/src/http.c @@ -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; }