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:
commit
95d36f42ee
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user