summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-11-08 14:49:15 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-11-08 14:49:15 +0100
commit89962a825697dd9eca057c032ec61de71b075539 (patch)
treea6fd6908705ed556537acc6f493ae97f8352a405 /src
parent11e31988e14b46ccfafeb9f58706ba1fe18a274f (diff)
Uninitialised FSM state in REQ session fixed (issue 278)
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-rw-r--r--src/req.cpp3
1 files changed, 2 insertions, 1 deletions
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)
{
}