0
0
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:
Pieter Hintjens 2013-09-17 10:04:57 +02:00
parent 7735ca5f8d
commit 7bb2b6ae11

View File

@ -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);