rf_zmq: make error message when port bind failed more verbose

master
Andre Puschmann 4 years ago
parent 7dcfe7bf0e
commit 99df71a914

@ -45,7 +45,7 @@ int rf_zmq_tx_open(rf_zmq_tx_t* q, rf_zmq_opts_t opts, void* zmq_ctx, char* sock
ret = zmq_bind(q->sock, sock_args); ret = zmq_bind(q->sock, sock_args);
if (ret) { if (ret) {
fprintf(stderr, "Error: connecting transmitter socket: %s\n", zmq_strerror(zmq_errno())); fprintf(stderr, "Error: binding transmitter socket (%s): %s\n", sock_args, zmq_strerror(zmq_errno()));
goto clean_exit; goto clean_exit;
} }

Loading…
Cancel
Save