Suppress error page generation for favicon fetches.

Pass the correct referring URL.

svn path=/trunk/netsurf/; revision=10237
This commit is contained in:
John Mark Bell 2010-04-04 12:45:47 +00:00
parent 79ce683b4e
commit 487d4c3ae3
1 changed files with 3 additions and 2 deletions

View File

@ -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);