summaryrefslogtreecommitdiff
path: root/src/req.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/req.cpp')
-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)
{
}