Commit 7bb2b6ae authored by Pieter Hintjens's avatar Pieter Hintjens

Fixed length of domain setting

parent 7735ca5f
...@@ -120,7 +120,7 @@ int main (void) ...@@ -120,7 +120,7 @@ int main (void)
//zmq_disconnect (client, "tcp://localhost:9001"); //zmq_disconnect (client, "tcp://localhost:9001");
// Now use the right domain, the test must pass // 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); assert (rc == 0);
rc = zmq_bind (server, "tcp://*:9002"); rc = zmq_bind (server, "tcp://*:9002");
assert (rc == 0); 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