summaryrefslogtreecommitdiff
path: root/content/content.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-06-10 23:55:23 +0000
committerJames Bursa <james@netsurf-browser.org>2004-06-10 23:55:23 +0000
commitd938fe135b5e0fc5b4c957beac2445ae5e6d54ed (patch)
tree823ec259b37319d7790303c5a7b84528dae52fd6 /content/content.c
parentd58147aa584b8642a94d8c701d18e09252fb85f0 (diff)
downloadnetsurf-d938fe135b5e0fc5b4c957beac2445ae5e6d54ed.tar.gz
netsurf-d938fe135b5e0fc5b4c957beac2445ae5e6d54ed.tar.bz2
[project @ 2004-06-10 23:55:23 by bursa]
Split fetchcache() into fetchcache() and fetchcache_go() to solve problems of callbacks being called before fetchcache() returns. Fix <style> breakage. Error handling fixes & improvements. svn path=/import/netsurf/; revision=957
Diffstat (limited to 'content/content.c')
-rw-r--r--content/content.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/content.c b/content/content.c
index 3974e90fd..5b8956ab5 100644
--- a/content/content.c
+++ b/content/content.c
@@ -304,6 +304,7 @@ bool content_set_type(struct content *c, content_type type,
if (handler_map[type].create) {
if (!handler_map[type].create(c, params)) {
+ c->type = CONTENT_UNKNOWN;
c->status = CONTENT_STATUS_ERROR;
return false;
}