summaryrefslogtreecommitdiff
path: root/content/fetchcache.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-07-07 22:10:51 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-07-07 22:10:51 +0000
commit133c3ee759bdc27f661390633064d7554027fbcb (patch)
tree5490bd5ef69499dc8d91f1e9c0252196ae0be8c6 /content/fetchcache.c
parent1abf8018a907cd95af01dfe0196786928988a653 (diff)
downloadnetsurf-133c3ee759bdc27f661390633064d7554027fbcb.tar.gz
netsurf-133c3ee759bdc27f661390633064d7554027fbcb.tar.bz2
[project @ 2003-07-07 22:10:51 by jmb]
Rewrite plugin system backend. svn path=/import/netsurf/; revision=210
Diffstat (limited to 'content/fetchcache.c')
-rw-r--r--content/fetchcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/fetchcache.c b/content/fetchcache.c
index ebd5e66d1..844111376 100644
--- a/content/fetchcache.c
+++ b/content/fetchcache.c
@@ -64,9 +64,9 @@ void fetchcache_callback(fetch_msg msg, void *p, char *data, unsigned long size)
if ((semic = strchr(mime_type, ';')) != 0)
*semic = 0; /* remove "; charset=..." */
type = content_lookup(mime_type);
- free(mime_type);
LOG(("FETCH_TYPE, type %u", type));
- content_set_type(c, type);
+ content_set_type(c, type, mime_type);
+ free(mime_type);
break;
case FETCH_DATA: