Macro correction.

This commit is contained in:
bjovke
2017-04-10 15:39:20 +02:00
parent 2bdd06ca7e
commit b6fb1f64a5

View File

@@ -71,10 +71,12 @@
#define CHECK_RC_EXIT_ON_FAILURE()\ #define CHECK_RC_EXIT_ON_FAILURE()\
if (rc < 0) {\ do {\
PROXY_CLEANUP();\ if (rc < 0) {\
return close_and_return (&msg, -1);\ PROXY_CLEANUP();\
} return close_and_return (&msg, -1);\
}\
} while(0)
#endif // ZMQ_HAVE_POLLER #endif // ZMQ_HAVE_POLLER