Merge branch 'master' of github.com:zeromq/libzmq

This commit is contained in:
Martin Lucina 2011-12-18 11:06:19 +01:00
commit adc07128e6

View File

@ -30,6 +30,11 @@ zmq::xsub_t::xsub_t (class ctx_t *parent_, uint32_t tid_) :
more (false)
{
options.type = ZMQ_XSUB;
// When socket is being closed down we don't want to wait till pending
// subscription commands are sent to the wire.
options.linger = 0;
int rc = message.init ();
errno_assert (rc == 0);
}