mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 18:55:10 +01:00
Fixed compile error in test_security_null
This commit is contained in:
parent
84ed81c014
commit
0d13971c05
@ -95,9 +95,9 @@ int main (void)
|
|||||||
// Now define a ZAP domain for the server; this enables
|
// Now define a ZAP domain for the server; this enables
|
||||||
// authentication. We're using the wrong domain so this test
|
// authentication. We're using the wrong domain so this test
|
||||||
// must fail.
|
// must fail.
|
||||||
void *server = zmq_socket (ctx, ZMQ_DEALER);
|
server = zmq_socket (ctx, ZMQ_DEALER);
|
||||||
assert (server);
|
assert (server);
|
||||||
void *client = zmq_socket (ctx, ZMQ_DEALER);
|
client = zmq_socket (ctx, ZMQ_DEALER);
|
||||||
assert (client);
|
assert (client);
|
||||||
rc = zmq_setsockopt (server, ZMQ_ZAP_DOMAIN, "WRONG", 5);
|
rc = zmq_setsockopt (server, ZMQ_ZAP_DOMAIN, "WRONG", 5);
|
||||||
assert (rc == 0);
|
assert (rc == 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user