Merge pull request #5725

dc8b7a8 zmq: MacPorts latest fix (jtgrassie)
This commit is contained in:
luigi1111 2019-08-19 17:29:38 -05:00
commit 4baec08d5c
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -59,7 +59,7 @@ void ZmqServer::serve()
{
throw std::runtime_error("ZMQ RPC server reply socket is null");
}
while (rep_socket->recv(&message))
while (rep_socket->recv(&message, 0))
{
std::string message_string(reinterpret_cast<const char *>(message.data()), message.size());