mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-13 22:29:26 +03:00
Suppress error page generation for favicon fetches.
Pass the correct referring URL. svn path=/trunk/netsurf/; revision=10237
This commit is contained in:
parent
79ce683b4e
commit
487d4c3ae3
@ -155,8 +155,9 @@ bool favicon_get_icon(struct content *c, xmlNode *html)
|
||||
if (url == NULL)
|
||||
return false;
|
||||
|
||||
error = hlcache_handle_retrieve(url, 0, NULL, NULL,
|
||||
favicon_callback, c, NULL, &c->data.html.favicon);
|
||||
error = hlcache_handle_retrieve(url, LLCACHE_RETRIEVE_NO_ERROR_PAGES,
|
||||
content__get_url(c), NULL, favicon_callback, c, NULL,
|
||||
&c->data.html.favicon);
|
||||
|
||||
free(url);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user