From 7bb2b6ae11cafd241a6007bb2d564d4765ff8cf9 Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Tue, 17 Sep 2013 10:04:57 +0200 Subject: [PATCH] Fixed length of domain setting --- tests/test_security_null.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_security_null.cpp b/tests/test_security_null.cpp index 5a3c80eb..0cf0a51a 100644 --- a/tests/test_security_null.cpp +++ b/tests/test_security_null.cpp @@ -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);