mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 23:36:04 +00:00
ZMQII-37: SIGSEGV when polling on REQ socket
This commit is contained in:
parent
4c613b39fa
commit
bcd278a5a5
@ -197,7 +197,7 @@ int zmq::req_t::xrecv (zmq_msg_t *msg_, int flags_)
|
|||||||
|
|
||||||
bool zmq::req_t::xhas_in ()
|
bool zmq::req_t::xhas_in ()
|
||||||
{
|
{
|
||||||
if (reply_pipe->check_read ())
|
if (reply_pipe && reply_pipe->check_read ())
|
||||||
return waiting_for_reply;
|
return waiting_for_reply;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user