summaryrefslogtreecommitdiff
path: root/content/content.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/content.c')
-rw-r--r--content/content.c4
1 files changed, 2 insertions, 2 deletions
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;
}