0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

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);