aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorJethro Grassie <jtg@xtrabass.com>2019-07-01 23:13:55 -0400
committerJethro Grassie <jtg@xtrabass.com>2019-07-01 23:13:55 -0400
commitdc8b7a88bde7467aa15458585eb8f4e2151b63a7 (patch)
treed84ec0d436ede87fe5f8995fbfdc5f67c70ee517 /src/rpc
parentMerge pull request #5681 (diff)
downloadmonero-dc8b7a88bde7467aa15458585eb8f4e2151b63a7.tar.xz
zmq: MacPorts latest fix
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/zmq_server.cpp2
1 files changed, 1 insertions, 1 deletions
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<const char *>(message.data()), message.size());