Commit 0d13971c authored by Pieter Hintjens's avatar Pieter Hintjens

Fixed compile error in test_security_null

parent 84ed81c0
......@@ -95,9 +95,9 @@ int main (void)
// Now define a ZAP domain for the server; this enables
// authentication. We're using the wrong domain so this test
// must fail.
void *server = zmq_socket (ctx, ZMQ_DEALER);
server = zmq_socket (ctx, ZMQ_DEALER);
assert (server);
void *client = zmq_socket (ctx, ZMQ_DEALER);
client = zmq_socket (ctx, ZMQ_DEALER);
assert (client);
rc = zmq_setsockopt (server, ZMQ_ZAP_DOMAIN, "WRONG", 5);
assert (rc == 0);
......
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