From 83f9e707eba500d39c12b8078948b932706cdab2 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 9 May 2011 15:32:34 +0000 Subject: refactor content handler initilisation to use named initialisors svn path=/trunk/netsurf/; revision=12341 --- content/content.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/content.c') diff --git a/content/content.c b/content/content.c index 606f2a91b..c2bc5902b 100644 --- a/content/content.c +++ b/content/content.c @@ -278,9 +278,9 @@ void content_convert(struct content *c) LOG(("content %s (%p)", llcache_handle_get_url(c->llcache), c)); - if (c->handler->convert != NULL) { + if (c->handler->data_complete != NULL) { c->locked = true; - if (c->handler->convert(c) == false) { + if (c->handler->data_complete(c) == false) { c->locked = false; c->status = CONTENT_STATUS_ERROR; } -- cgit v1.2.3