- resolve FPE when ZMQ_RECONNECT_IVL == 0

This commit is contained in:
Bill Torpey
2020-06-26 10:32:16 -04:00
committed by Luca Boccassi
parent d0d23446f5
commit c7aef56048
3 changed files with 3 additions and 3 deletions

View File

@@ -587,7 +587,7 @@ void zmq::session_base_t::reconnect ()
reset ();
// Reconnect.
if (options.reconnect_ivl != -1)
if (options.reconnect_ivl > 0)
start_connecting (true);
else {
std::string *ep = new (std::string);