aboutsummaryrefslogtreecommitdiff
path: root/tests/test-io-channel-socket.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2019-08-20 09:40:39 +0200
committerJuan Quintela <quintela@redhat.com>2019-09-03 23:24:42 +0200
commit7959e29ea0d6100038367beff9a0da0c83b322a2 (patch)
treed0b32ccaf166ac547af26a64e80f624c750bccfb /tests/test-io-channel-socket.c
parent4e2d8bf6f143138ad121545a7cf4525e36040039 (diff)
socket: Add num connections to qio_channel_socket_async()
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-io-channel-socket.c b/tests/test-io-channel-socket.c
index 613ada32c0..d43083a766 100644
--- a/tests/test-io-channel-socket.c
+++ b/tests/test-io-channel-socket.c
@@ -113,7 +113,7 @@ static void test_io_channel_setup_async(SocketAddress *listen_addr,
lioc = qio_channel_socket_new();
qio_channel_socket_listen_async(
- lioc, listen_addr,
+ lioc, listen_addr, 1,
test_io_channel_complete, &data, NULL, NULL);
g_main_loop_run(data.loop);