Fix serialization

Was putting new data in the front of the message instead of the end.
This mismatched with how I was deserializing the messages
This commit is contained in:
2024-03-03 16:31:58 -05:00
parent 32a03a3895
commit b99513c8b3
2 changed files with 5 additions and 4 deletions

View File

@@ -109,6 +109,7 @@ static void *worker_task(zsock_t *pipe, char *disk_path) {
printf("Size: %zu\tContent size: %zu\n", zmsg_size(msg), zmsg_content_size(msg));
struct guestfs_inpsect_command *command = zmsg_to_command(msg);
printf("Name: %s\n", command->name);
printf("path: %s\n", command->args.ls.paths[0]);
free(command);