summaryrefslogtreecommitdiff
path: root/content/content.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-07-17 14:26:15 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-07-17 14:26:15 +0000
commit33cc86a8bbcdc9ac6d379c85c51abf54b3426790 (patch)
tree69bb3332b41cadf8e3e0f908f5905b9dbed2700f /content/content.c
parent535d7771cf32fed50b34d118a8edd78f435d4777 (diff)
downloadnetsurf-33cc86a8bbcdc9ac6d379c85c51abf54b3426790.tar.gz
netsurf-33cc86a8bbcdc9ac6d379c85c51abf54b3426790.tar.bz2
[project @ 2003-07-17 14:26:15 by jmb]
create parameters file for plugins svn path=/import/netsurf/; revision=227
Diffstat (limited to 'content/content.c')
-rw-r--r--content/content.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/content.c b/content/content.c
index 253caea16..af9850145 100644
--- a/content/content.c
+++ b/content/content.c
@@ -145,7 +145,7 @@ void content_set_type(struct content *c, content_type type, char* mime_type)
assert(type < CONTENT_UNKNOWN);
LOG(("content %s, type %i", c->url, type));
c->type = type;
- c->mime_type = mime_type;
+ c->mime_type = strdup(mime_type);
c->status = CONTENT_STATUS_LOADING;
content_broadcast(c, CONTENT_MSG_LOADING, 0);
handler_map[type].create(c);