mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-26 23:04:39 +00:00
Merge #7621: Fixes ZMQ startup with bad arguments.
0040118 Fixes ZMQ startup with bad arguments. (mrbandrews)
This commit is contained in:
commit
a6a860796a
@ -100,7 +100,6 @@ bool CZMQNotificationInterface::Initialize()
|
|||||||
|
|
||||||
if (i!=notifiers.end())
|
if (i!=notifiers.end())
|
||||||
{
|
{
|
||||||
Shutdown();
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,6 +69,7 @@ bool CZMQAbstractPublishNotifier::Initialize(void *pcontext)
|
|||||||
if (rc!=0)
|
if (rc!=0)
|
||||||
{
|
{
|
||||||
zmqError("Failed to bind address");
|
zmqError("Failed to bind address");
|
||||||
|
zmq_close(psocket);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user