aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-08-19 17:29:38 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-08-19 17:29:38 -0500
commit4baec08d5c99f211bcd732656015d84493da56cc (patch)
tree77d6d549ea0dbe335ee41d58c3fc34262fb95d28 /src
parentMerge pull request #5723 (diff)
parentzmq: MacPorts latest fix (diff)
downloadmonero-4baec08d5c99f211bcd732656015d84493da56cc.tar.xz
Merge pull request #5725
dc8b7a8 zmq: MacPorts latest fix (jtgrassie)
Diffstat (limited to 'src')
-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());