Commit ee7f2a27 authored by Constantin Rack's avatar Constantin Rack

Merge pull request #1579 from staticfloat/patch-2

parents 2c94bb42 1fbc67a4
......@@ -150,7 +150,7 @@ get_monitor_event (void *monitor, int *value, char **address)
size_t size = zmq_msg_size (&msg);
*address = (char *) malloc (size + 1);
memcpy (*address, data, size);
*address [size] = 0;
(*address)[size] = 0;
}
return event;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment