Merge pull request #1889 from spadalkar/master

This commit is contained in:
Constantin Rack 2016-04-08 06:09:27 +02:00
commit 32f2b784b9

View File

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