Fix log message.

This commit is contained in:
Fabian Eckermann 2021-10-12 10:05:00 +02:00 committed by Andre Puschmann
parent 33df51a1f5
commit 44de4996e8
2 changed files with 2 additions and 2 deletions

View File

@ -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) {
fprintf(stderr, "Error: setting receive timeout on rx socket\n");
fprintf(stderr, "Error: setting send timeout on rx socket\n");
goto clean_exit;
}

View File

@ -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) {
fprintf(stderr, "Error: setting receive timeout on tx socket\n");
fprintf(stderr, "Error: setting send timeout on tx socket\n");
goto clean_exit;
}