diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-12 08:14:55 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-12 08:14:55 +0100 |
commit | bcd278a5a5fa9c08af6786c6f3c1ec5fa974fadf (patch) | |
tree | 92b0b1051f5d6dbdeab79266bacff18fdf29ee88 | |
parent | 4c613b39faebe18af95cab07a7d5f687285c4655 (diff) |
ZMQII-37: SIGSEGV when polling on REQ socket
-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; |