From dc8b7a88bde7467aa15458585eb8f4e2151b63a7 Mon Sep 17 00:00:00 2001 From: Jethro Grassie Date: Mon, 1 Jul 2019 23:13:55 -0400 Subject: [PATCH] zmq: MacPorts latest fix --- src/rpc/zmq_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/zmq_server.cpp b/src/rpc/zmq_server.cpp index ae748e052..668a2e5cd 100644 --- a/src/rpc/zmq_server.cpp +++ b/src/rpc/zmq_server.cpp @@ -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(message.data()), message.size());