diff options
-rw-r--r-- | src/req.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/req.cpp b/src/req.cpp index dc09387..c9240e0 100644 --- a/src/req.cpp +++ b/src/req.cpp @@ -197,7 +197,7 @@ int zmq::req_t::xrecv (zmq_msg_t *msg_, int flags_) bool zmq::req_t::xhas_in () { - if (reply_pipe->check_read ()) + if (reply_pipe && reply_pipe->check_read ()) return waiting_for_reply; return false; |