From 487d4c3ae384fafded41ee0b4203bd82f5268b57 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 4 Apr 2010 12:45:47 +0000 Subject: [PATCH] Suppress error page generation for favicon fetches. Pass the correct referring URL. svn path=/trunk/netsurf/; revision=10237 --- render/favicon.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/render/favicon.c b/render/favicon.c index 89b292528..06ff0b94f 100644 --- a/render/favicon.c +++ b/render/favicon.c @@ -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);