Skip to content

Commit

Permalink
Merge branches 'libzmq-205' and 'libzmq-303'
Browse files Browse the repository at this point in the history
  • Loading branch information
mato committed Jan 30, 2012
2 parents c34a144 + 029e288 commit 1925c92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pgm_sender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
}

Expand Down

0 comments on commit 1925c92

Please sign in to comment.