Commit 32f2b784 authored by Constantin Rack's avatar Constantin Rack

Merge pull request #1889 from spadalkar/master

parents 23d08c20 e3016b66
......@@ -47,7 +47,7 @@ void test_system_max ()
break;
sockets.push_back (socket);
}
assert ((int) sockets.size () < no_of_sockets);
assert ((int) sockets.size () <= no_of_sockets);
// System is out of resources, further calls to zmq_socket should return NULL
for (unsigned int i = 0; i < 10; ++i) {
......
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