cleanup after junior engineer
This commit is contained in:
@@ -78,8 +78,8 @@ static void *worker_task(zsock_t *pipe, char *disk_path) {
|
||||
// ZeroMQ Opens here
|
||||
zsock_signal(pipe, 0);
|
||||
while (true) {
|
||||
zmsg_t *message = zmsg_recv(pipe);
|
||||
if (!message) {
|
||||
zmsg_t *msg = zmsg_recv(pipe);
|
||||
if (!msg) {
|
||||
break;
|
||||
}
|
||||
// Process message
|
||||
|
||||
Reference in New Issue
Block a user