1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Better messages for --spider without -r.

This commit is contained in:
Micah Cowan 2008-02-11 14:55:25 -08:00
parent 6565ea669a
commit af6517900e
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-02-11 Benno Schulenberg <bensberg@justemail.net>
* http.c: More accurate and descriptive messages for when a file
won't be retrieved during spider-mode.
2008-02-10 Micah Cowan <micah@cowan.name> 2008-02-10 Micah Cowan <micah@cowan.name>
* http.c: Added existence_checked member to the http_stat * http.c: Added existence_checked member to the http_stat

View File

@ -2672,9 +2672,18 @@ Remote file exists but does not contain any link -- not retrieving.\n\n"));
} }
} }
else else
{
if (*dt & TEXTHTML)
{ {
logprintf (LOG_VERBOSE, _("\ logprintf (LOG_VERBOSE, _("\
Remote file exists but recursion is disabled -- not retrieving.\n\n")); 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. */ ret = RETROK; /* RETRUNNEEDED is not for caller. */
goto exit; goto exit;
} }