diff options
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r-- | src/im-sandbox.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index 0933ab31..059f4a74 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -471,12 +471,21 @@ static int run_work(const struct index_args *iargs, Stream *st, } else if ( sb->asapo ) { + char *filename; + char *event; + /* Temporary (?) abuse of "zmq_data", even though * data comes via ASAP::O */ pargs.zmq_data = im_asapo_fetch(asapostuff, - &pargs.zmq_data_size); + &pargs.zmq_data_size, + &filename, + &event); if ( pargs.zmq_data != NULL ) { ok = 1; + free(pargs.filename); + free(pargs.event); + pargs.filename = filename; + pargs.event = event; } } else { |