mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 14:31:20 +03:00
[project @ 2003-08-28 19:20:40 by bursa]
Bug fix. svn path=/import/netsurf/; revision=254
This commit is contained in:
parent
05891b85d2
commit
b444025e28
@ -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 = strdup(mime_type);
|
||||
c->mime_type = xstrdup(mime_type);
|
||||
c->status = CONTENT_STATUS_LOADING;
|
||||
content_broadcast(c, CONTENT_MSG_LOADING, 0);
|
||||
handler_map[type].create(c);
|
||||
|
Loading…
Reference in New Issue
Block a user