diff --git a/guestfs-inspectd.c b/guestfs-inspectd.c index cf7d713..bc87f56 100644 --- a/guestfs-inspectd.c +++ b/guestfs-inspectd.c @@ -113,15 +113,18 @@ static void *worker_task(zsock_t *pipe, char *disk_path) { // Sending reply /* zmsg_send(&msg, pipe); */ - /* zstr_send(pipe, ); */ + zmsg_t *reply = zmsg_new(); if (!reply) { printf("wuddahec\n"); exit(EXIT_FAILURE); } + zmsg_pushstr(reply, "From worker!"); + + zmsg_send(&reply, pipe); zmsg_destroy(&msg); - + zmsg_destroy(&reply); } guestfs_close(g);