0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

Problem: bounce() arguments reversed

Solution:
Put them in the right order to quiet Coverity.

Found by:
Coverity Scan
This commit is contained in:
hitstergtd 2016-05-01 21:40:08 +01:00
parent b3ae7cfa0d
commit 40dbbe342e

View File

@ -105,7 +105,7 @@ int main (void)
assert (rc == 0);
rc = zmq_connect (client, "tcp://127.0.0.1:9998");
assert (rc == 0);
bounce (client, server);
bounce (server, client);
// Close client and server
close_zero_linger (client);