mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 08:46:44 +01:00
minor tweaks in pgm code
This commit is contained in:
parent
84585a9561
commit
9ccf2b42cf
@ -130,8 +130,12 @@ void zmq::pgm_sender_t::revive ()
|
|||||||
|
|
||||||
zmq::pgm_sender_t::~pgm_sender_t ()
|
zmq::pgm_sender_t::~pgm_sender_t ()
|
||||||
{
|
{
|
||||||
|
zmq_log (4, "pgm_sender_t destructor, %s(%i)\n",
|
||||||
|
__FILE__, __LINE__);
|
||||||
|
|
||||||
if (out_buffer) {
|
if (out_buffer) {
|
||||||
pgm_socket.free_buffer (out_buffer);
|
pgm_socket.free_buffer (out_buffer);
|
||||||
|
out_buffer = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -358,7 +358,7 @@ int zmq::pgm_socket_t::open_transport (void)
|
|||||||
// Sender transport.
|
// Sender transport.
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
// Set transport->can_recv = FALSE, waiting_pipe wont not be read.
|
// Set transport->can_recv = FALSE, waiting_pipe will not be read.
|
||||||
rc = pgm_transport_set_send_only (g_transport, TRUE);
|
rc = pgm_transport_set_send_only (g_transport, TRUE);
|
||||||
if (rc != pgm_ok) {
|
if (rc != pgm_ok) {
|
||||||
errno = EINVAL;
|
errno = EINVAL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user