Merge branch 'libzmq-303' of git://git.lucina.net/libzmq

This commit is contained in:
Chuck Remes 2012-02-02 14:14:56 -06:00
commit 762bcff73f

View File

@ -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 ();
}