zmq: MacPorts latest fix
This commit is contained in:
parent
633f14b976
commit
dc8b7a88bd
|
@ -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());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue