mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-13 22:50:19 +02:00
- resolve FPE when ZMQ_RECONNECT_IVL == 0
This commit is contained in:

committed by
Luca Boccassi

parent
d0d23446f5
commit
c7aef56048
@@ -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);
|
||||
|
Reference in New Issue
Block a user