mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] spider.c (in_url_list_p): removed the bool verbose argument
This commit is contained in:
parent
36fc2d6d66
commit
e9a98d3639
@ -1,3 +1,7 @@
|
|||||||
|
2007-08-23 Joshua David Williams <yurimxpxman@gmail.com>
|
||||||
|
|
||||||
|
* spider.c (in_url_list_p): Removed the bool verbose argument
|
||||||
|
|
||||||
2007-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
2007-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
* url.c (append_uri_pathel): Do not assume dest string to be
|
* url.c (append_uri_pathel): Do not assume dest string to be
|
||||||
|
@ -67,7 +67,7 @@ struct url_list
|
|||||||
};
|
};
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
in_url_list_p (const struct url_list *list, const char *url, bool verbose)
|
in_url_list_p (const struct url_list *list, const char *url)
|
||||||
{
|
{
|
||||||
const struct url_list *ptr;
|
const struct url_list *ptr;
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ visited_url (const char *url, const char *referrer)
|
|||||||
list->url = referrer ? xstrdup (referrer) : NULL;
|
list->url = referrer ? xstrdup (referrer) : NULL;
|
||||||
hash_table_put (visited_urls_hash, xstrdup (url), list);
|
hash_table_put (visited_urls_hash, xstrdup (url), list);
|
||||||
}
|
}
|
||||||
else if (referrer && !in_url_list_p (list, referrer, false))
|
else if (referrer && !in_url_list_p (list, referrer))
|
||||||
{
|
{
|
||||||
/* Append referrer at the end of the list */
|
/* Append referrer at the end of the list */
|
||||||
struct url_list *newnode;
|
struct url_list *newnode;
|
||||||
|
Loading…
Reference in New Issue
Block a user