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

Fix test warning.

This commit is contained in:
Richard Newton 2013-10-28 08:34:32 +00:00 committed by Pieter Hintjens
parent f0b69bba28
commit 30f470eff5

View File

@ -33,7 +33,7 @@ int main (void)
assert (zmq_ctx_get (ctx, ZMQ_IPV6) == 0);
rc = zmq_ctx_set (ctx, ZMQ_IPV6, true);
assert (zmq_ctx_get (ctx, ZMQ_IPV6) == true);
assert (zmq_ctx_get (ctx, ZMQ_IPV6) == 1);
void *router = zmq_socket (ctx, ZMQ_ROUTER);
int ipv6;