Commit 0934bc78 authored by Doron Somech's avatar Doron Somech

fix test term endpoint

parent 6f1dc64f
...@@ -129,9 +129,9 @@ int main (void) ...@@ -129,9 +129,9 @@ int main (void)
assert (push); assert (push);
rc = zmq_bind (push, ep_wc_tcp); rc = zmq_bind (push, ep_wc_tcp);
assert (rc == 0); assert (rc == 0);
pull = zmq_socket(ctx, ZMQ_PULL);
assert(pull);
#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS #if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS
pull = zmq_socket (ctx, ZMQ_PULL);
assert (pull);
rc = zmq_bind (pull, ep_wc_ipc); rc = zmq_bind (pull, ep_wc_ipc);
assert (rc == 0); assert (rc == 0);
#endif #endif
...@@ -178,9 +178,9 @@ int main (void) ...@@ -178,9 +178,9 @@ int main (void)
assert (push); assert (push);
rc = zmq_bind (push, ep_wc_tcp); rc = zmq_bind (push, ep_wc_tcp);
assert (rc == 0); assert (rc == 0);
#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS pull = zmq_socket(ctx, ZMQ_PULL);
pull = zmq_socket (ctx, ZMQ_PULL); assert(pull);
assert (pull); #if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS
rc = zmq_bind (pull, ep_wc_ipc); rc = zmq_bind (pull, ep_wc_ipc);
assert (rc == 0); assert (rc == 0);
#endif #endif
......
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