diff --git a/src/plugin.c b/src/plugin.c
index b575e8c780133cec6aa1db2f43f07fb56c8143c5..f578575781fef6dde6b98999d24c5593ccaa50cc 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
} else {
/* success: invoke the callback */
cycle->callback(cycle->pipe_stdout.data, true,
- cycle->callback_data);
+ cycle->argv[0], cycle->callback_data);
}
}
assert(cycle->pipe_stderr.fd < 0);
assert(cycle->pid < 0);
- cycle->callback(cycle->all_errors, false, cycle->callback_data);
+ cycle->callback(cycle->all_errors, false, NULL, cycle->callback_data);
return FALSE;
}