Uninitialised FSM state in REQ session fixed (issue 278)

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik 2011-11-08 14:49:15 +01:00
parent 11e31988e1
commit 89962a8256

View File

@ -141,7 +141,8 @@ zmq::req_session_t::req_session_t (io_thread_t *io_thread_, bool connect_,
socket_base_t *socket_, const options_t &options_,
const char *protocol_, const char *address_) :
xreq_session_t (io_thread_, connect_, socket_, options_, protocol_,
address_)
address_),
state (identity)
{
}