mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Enqueue start_url in the canonical form.
Published in <sxsofkvi8zx.fsf@florida.arsdigita.de>.
This commit is contained in:
parent
001cac91a4
commit
8db1264218
@ -1,3 +1,8 @@
|
||||
2001-12-19 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* recur.c (retrieve_tree): Enqueue the canonical representation of
|
||||
start_url, so that the test against dl_url_file_map works.
|
||||
|
||||
2001-12-19 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* log.c (logputs): Check for requested verbosity before printing
|
||||
|
@ -196,8 +196,10 @@ retrieve_tree (const char *start_url)
|
||||
now. */
|
||||
struct url *start_url_parsed = url_parse (start_url, NULL);
|
||||
|
||||
url_enqueue (queue, xstrdup (start_url), NULL, 0);
|
||||
string_set_add (blacklist, start_url);
|
||||
/* Enqueue the starting URL. Use start_url_parsed->url rather than
|
||||
just URL so we enqueue the canonical form of the URL. */
|
||||
url_enqueue (queue, xstrdup (start_url_parsed->url), NULL, 0);
|
||||
string_set_add (blacklist, start_url_parsed->url);
|
||||
|
||||
while (1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user