zmq: MacPorts latest fix

This commit is contained in:
Jethro Grassie 2019-07-01 23:13:55 -04:00
parent 633f14b976
commit dc8b7a88bd
No known key found for this signature in database
GPG Key ID: DE8ED755616565BB

View File

@ -59,7 +59,7 @@ void ZmqServer::serve()
{ {
throw std::runtime_error("ZMQ RPC server reply socket is null"); 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()); std::string message_string(reinterpret_cast<const char *>(message.data()), message.size());