mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
Fixed length of domain setting
This commit is contained in:
parent
7735ca5f8d
commit
7bb2b6ae11
@ -120,7 +120,7 @@ int main (void)
|
||||
//zmq_disconnect (client, "tcp://localhost:9001");
|
||||
|
||||
// Now use the right domain, the test must pass
|
||||
rc = zmq_setsockopt (server, ZMQ_ZAP_DOMAIN, "TEST", 5);
|
||||
rc = zmq_setsockopt (server, ZMQ_ZAP_DOMAIN, "TEST", 4);
|
||||
assert (rc == 0);
|
||||
rc = zmq_bind (server, "tcp://*:9002");
|
||||
assert (rc == 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user