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)
|
if (url == NULL)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
error = hlcache_handle_retrieve(url, 0, NULL, NULL,
|
error = hlcache_handle_retrieve(url, LLCACHE_RETRIEVE_NO_ERROR_PAGES,
|
||||||
favicon_callback, c, NULL, &c->data.html.favicon);
|
content__get_url(c), NULL, favicon_callback, c, NULL,
|
||||||
|
&c->data.html.favicon);
|
||||||
|
|
||||||
free(url);
|
free(url);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue