Problem: static analysis warning about ifdef typo

Solution: fix it
This commit is contained in:
Luca Boccassi 2018-05-26 20:08:03 +01:00
parent 2d1bb07f8d
commit 624c142365

View File

@ -255,7 +255,7 @@ zmq::fd_t zmq::tipc_connecter_t::connect ()
// Following code should handle both Berkeley-derived socket
// implementations and Solaris.
int err = 0;
#if ZMQ_HAVE_VXWORKS
#ifdef ZMQ_HAVE_VXWORKS
int len = sizeof (err);
#else
socklen_t len = sizeof (err);