Commit adee8270 authored by Chuck Remes's avatar Chuck Remes

Merge pull request #231 from chuckremes/master

mato: merge patch to close libzmq-303
parents e89a5f1e 762bcff7
......@@ -98,8 +98,8 @@ void zmq::pgm_sender_t::plug (io_thread_t *io_thread_, session_base_t *session_)
msg_t msg;
msg.init_size (1);
*(unsigned char*) msg.data () = 1;
bool ok = session_->write (&msg);
zmq_assert (ok);
int rc = session_->write (&msg);
errno_assert (rc == 0);
session_->flush ();
}
......
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