summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/content.c4
-rw-r--r--content/content_protected.h2
2 files changed, 3 insertions, 3 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;
}
diff --git a/content/content_protected.h b/content/content_protected.h
index 6659e2cd8..144136df4 100644
--- a/content/content_protected.h
+++ b/content/content_protected.h
@@ -46,7 +46,7 @@ struct content_handler {
bool (*process_data)(struct content *c,
const char *data, unsigned int size);
- bool (*convert)(struct content *c);
+ bool (*data_complete)(struct content *c);
void (*reformat)(struct content *c, int width, int height);
void (*destroy)(struct content *c);
void (*stop)(struct content *c);