diff options
author | Juan Quintela <quintela@redhat.com> | 2019-08-19 15:29:58 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2019-09-03 23:24:42 +0200 |
commit | 4e2d8bf6f143138ad121545a7cf4525e36040039 (patch) | |
tree | 52d1502ef57984dbf9fef936d92c76b74f7753f3 /tests/test-io-channel-socket.c | |
parent | e5b6353cf25c99c3f08bf51e29933352f7140e8f (diff) |
socket: Add num connections to qio_channel_socket_sync()
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'tests/test-io-channel-socket.c')
-rw-r--r-- | tests/test-io-channel-socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-io-channel-socket.c b/tests/test-io-channel-socket.c index d172f3070f..613ada32c0 100644 --- a/tests/test-io-channel-socket.c +++ b/tests/test-io-channel-socket.c @@ -57,7 +57,7 @@ static void test_io_channel_setup_sync(SocketAddress *listen_addr, QIOChannelSocket *lioc; lioc = qio_channel_socket_new(); - qio_channel_socket_listen_sync(lioc, listen_addr, &error_abort); + qio_channel_socket_listen_sync(lioc, listen_addr, 1, &error_abort); if (listen_addr->type == SOCKET_ADDRESS_TYPE_INET) { SocketAddress *laddr = qio_channel_socket_get_local_address( |