Browse Source

Fixes ZMQ startup with bad arguments.

0.13
mrbandrews 9 years ago
parent
commit
0040118959
  1. 1
      src/zmq/zmqnotificationinterface.cpp
  2. 1
      src/zmq/zmqpublishnotifier.cpp

1
src/zmq/zmqnotificationinterface.cpp

@ -100,7 +100,6 @@ bool CZMQNotificationInterface::Initialize() @@ -100,7 +100,6 @@ bool CZMQNotificationInterface::Initialize()
if (i!=notifiers.end())
{
Shutdown();
return false;
}

1
src/zmq/zmqpublishnotifier.cpp

@ -69,6 +69,7 @@ bool CZMQAbstractPublishNotifier::Initialize(void *pcontext) @@ -69,6 +69,7 @@ bool CZMQAbstractPublishNotifier::Initialize(void *pcontext)
if (rc!=0)
{
zmqError("Failed to bind address");
zmq_close(psocket);
return false;
}

Loading…
Cancel
Save