Fix log message.

master
Fabian Eckermann 3 years ago committed by Andre Puschmann
parent 33df51a1f5
commit 44de4996e8

@ -161,7 +161,7 @@ int rf_zmq_rx_open(rf_zmq_rx_t* q, rf_zmq_opts_t opts, void* zmq_ctx, char* sock
} }
if (zmq_setsockopt(q->sock, ZMQ_SNDTIMEO, &timeout, sizeof(timeout)) == -1) { if (zmq_setsockopt(q->sock, ZMQ_SNDTIMEO, &timeout, sizeof(timeout)) == -1) {
fprintf(stderr, "Error: setting receive timeout on rx socket\n"); fprintf(stderr, "Error: setting send timeout on rx socket\n");
goto clean_exit; goto clean_exit;
} }

@ -57,7 +57,7 @@ int rf_zmq_tx_open(rf_zmq_tx_t* q, rf_zmq_opts_t opts, void* zmq_ctx, char* sock
} }
if (zmq_setsockopt(q->sock, ZMQ_SNDTIMEO, &timeout, sizeof(timeout)) == -1) { if (zmq_setsockopt(q->sock, ZMQ_SNDTIMEO, &timeout, sizeof(timeout)) == -1) {
fprintf(stderr, "Error: setting receive timeout on tx socket\n"); fprintf(stderr, "Error: setting send timeout on tx socket\n");
goto clean_exit; goto clean_exit;
} }

Loading…
Cancel
Save