From eaf8dde6c300add1685707a4c0aafea7cdd8e2e9 Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Sun, 3 Mar 2024 15:04:01 -0500 Subject: [PATCH] Do not use draft API --- guestfs-inspectd.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/guestfs-inspectd.c b/guestfs-inspectd.c index 187a6ea..9969b88 100644 --- a/guestfs-inspectd.c +++ b/guestfs-inspectd.c @@ -1,5 +1,3 @@ -#define CZMQ_BUILD_DRAFT_API - #include #include #include @@ -122,14 +120,8 @@ static void *worker_task(zsock_t *pipe, char *disk_path) { exit(EXIT_FAILURE); } - zmsg_addstr(reply, "Hello from the worker!"); - zmsg_set_routing_id(reply, zmsg_routing_id(msg)); - zmsg_send(reply, pipe); - zmsg_destroy(&msg); - zmsg_destroy(&reply); - printf("Sent reply from the worker\n"); } guestfs_close(g);