aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-03-15 13:54:12 +0100
committerThomas White <taw@physics.org>2019-03-15 13:54:12 +0100
commitc9e18f406b4a8371a1126fc58df870407c792e03 (patch)
tree131e6676fd7ca22b51959c89181502990e05ad77 /src/process_image.c
parent7edc4d2826d5b07487fad1dc5ede6cf3bbf250dc (diff)
Add a couple more set_last_task calls
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process_image.c b/src/process_image.c
index 78dd0fc4..a9bf1cdb 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -217,6 +217,7 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
image.filename = pargs->filename_p_e->filename;
image.event = pargs->filename_p_e->ev;
if ( pargs->msgpack_obj != NULL ) {
+ set_last_task(last_task, "unpacking messagepack object");
if ( unpack_msgpack_data(pargs->msgpack_obj, &image,
iargs->no_image_data) ) return;
} else {
@@ -501,4 +502,5 @@ out:
image_feature_list_free(image.features);
free_detector_geometry(image.det);
if ( imfile != NULL ) imagefile_close(imfile);
+ set_last_task(last_task, "sandbox");
}