Commit cb278a89 authored by Jordan Sissel's avatar Jordan Sissel

Quiet the printing for now

parent 5ca6f8f9
......@@ -20,9 +20,10 @@ void *emitter(void *arg) {
rc = zmq_recv(socket, &message, 0);
insist(rc == 0, "zmq_recv(%s) failed (returned %d): %s",
config->zmq_endpoint, rc, zmq_strerror(errno));
printf("received: %.*s\n", (int)zmq_msg_size(&message),
(char *)zmq_msg_data(&message));
/* TODO(sissel): emit this event over... some network. */
//printf("received: %.*s\n", (int)zmq_msg_size(&message),
//(char *)zmq_msg_data(&message));
/* TODO(sissel): ship this out to a remote server */
zmq_msg_close(&message);
}
} /* emitter */
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