Yeah, so it helps if you get the conditional correct.

svn path=/trunk/netsurf/; revision=9859
This commit is contained in:
John Mark Bell 2010-01-21 23:53:44 +00:00
parent 5b0ad574b6
commit aba82a97af

View File

@ -190,7 +190,7 @@ void favicon_callback(content_msg msg, struct content *icon,
if (icon->type == *type)
break;
if (*type != CONTENT_UNKNOWN) {
if (*type == CONTENT_UNKNOWN) {
c->data.html.favicon = 0;
LOG(("%s is not a favicon", icon->url));
content_add_error(c, "NotFavIco", 0);