Commit 6706efba authored by KIU Shueng Chuan's avatar KIU Shueng Chuan

fix wrong boolean operator

parent ebd1bf9b
......@@ -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);
......
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