Commit c84a52b1 authored by Luca Boccassi's avatar Luca Boccassi

Problem: udp_engine_t fd cannot be init to NULL

Solution: initialize to -1, since fd is a file descriptor (int).
parent 1046f359
......@@ -48,7 +48,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
zmq::udp_engine_t::udp_engine_t() :
plugged (false),
fd(NULL),
fd(-1),
session(NULL),
handle(NULL),
address(nullptr),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment