From 33cc86a8bbcdc9ac6d379c85c51abf54b3426790 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 17 Jul 2003 14:26:15 +0000 Subject: [project @ 2003-07-17 14:26:15 by jmb] create parameters file for plugins svn path=/import/netsurf/; revision=227 --- content/content.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/content.c') 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); -- cgit v1.2.3