0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-14 09:47:56 +08:00

Merge pull request #484 from pijyoi/master

fix wrong boolean operator in router_raw test code
This commit is contained in:
Martin Hurton 2012-12-07 01:54:56 -08:00
commit 95d36f42ee

View File

@ -183,7 +183,7 @@ void test_zmq_connect ()
size_t bytes_read = tcp_read (server_fd, buffer, sizeof buffer);
assert (bytes_read == strlen (test_str)
|| memcmp (buffer, test_str, bytes_read) == 0);
&& memcmp (buffer, test_str, bytes_read) == 0);
rc = close (server_fd);
assert (rc == 0);