aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-05-20 22:42:49 +0200
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commit23ea67dc03ac19f7a1457ecfdc8d5ee9cac68632 (patch)
treec9cf8cbc343b842c3da3803d67343f73071b96dd /src/process_image.c
parent302de26924528b31a2320c90fd944224674bd835 (diff)
Port indexamajig to new API, part II
This also removes a large chunk of legacy code
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process_image.c b/src/process_image.c
index d529a444..bca2a7f2 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -130,7 +130,7 @@ static struct image *file_wait_open_read(const char *filename,
if ( !wait_message_done ) {
STATUS("Waiting for '%s'\n",
- image->filename);
+ filename);
wait_message_done = 1;
}
@@ -194,6 +194,7 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
if ( pargs->msgpack_obj != NULL ) {
set_last_task(last_task, "unpacking messagepack object");
image = unpack_msgpack_data(pargs->msgpack_obj,
+ iargs->dtempl,
iargs->no_image_data);
if ( image == NULL ) return;
} else {