aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2019-08-19 14:48:21 +0200
committerJuan Quintela <quintela@redhat.com>2019-09-03 23:24:42 +0200
commite5b6353cf25c99c3f08bf51e29933352f7140e8f (patch)
tree5d90c11a5ed6ba280889656555223005cd154c84 /io
parent3483534ec314f6057e66966bfceaa9df02c28fbf (diff)
socket: Add backlog parameter to socket_listen
Current parameter was always one. We continue with that value for now in all callers. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> --- Moved trace to socket_listen
Diffstat (limited to 'io')
-rw-r--r--io/channel-socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/channel-socket.c b/io/channel-socket.c
index bec3d931d1..a533c8bc11 100644
--- a/io/channel-socket.c
+++ b/io/channel-socket.c
@@ -202,7 +202,7 @@ int qio_channel_socket_listen_sync(QIOChannelSocket *ioc,
int fd;
trace_qio_channel_socket_listen_sync(ioc, addr);
- fd = socket_listen(addr, errp);
+ fd = socket_listen(addr, 1, errp);
if (fd < 0) {
trace_qio_channel_socket_listen_fail(ioc);
return -1;