mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 08:34:00 +00:00
Problem: bounce() arguments reversed
Solution: Put them in the right order to quiet Coverity. Found by: Coverity Scan
This commit is contained in:
parent
b3ae7cfa0d
commit
40dbbe342e
@ -105,7 +105,7 @@ int main (void)
|
|||||||
assert (rc == 0);
|
assert (rc == 0);
|
||||||
rc = zmq_connect (client, "tcp://127.0.0.1:9998");
|
rc = zmq_connect (client, "tcp://127.0.0.1:9998");
|
||||||
assert (rc == 0);
|
assert (rc == 0);
|
||||||
bounce (client, server);
|
bounce (server, client);
|
||||||
|
|
||||||
// Close client and server
|
// Close client and server
|
||||||
close_zero_linger (client);
|
close_zero_linger (client);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user