From 89962a825697dd9eca057c032ec61de71b075539 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 8 Nov 2011 14:49:15 +0100 Subject: Uninitialised FSM state in REQ session fixed (issue 278) Signed-off-by: Martin Sustrik --- src/req.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/req.cpp b/src/req.cpp index 3ba1ec0..cf7dd45 100644 --- a/src/req.cpp +++ b/src/req.cpp @@ -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) { } -- cgit v1.2.3