aboutsummaryrefslogtreecommitdiff
path: root/qga/channel-posix.c
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 /qga/channel-posix.c
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 'qga/channel-posix.c')
-rw-r--r--qga/channel-posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qga/channel-posix.c b/qga/channel-posix.c
index 5a925a9818..8fc205ad21 100644
--- a/qga/channel-posix.c
+++ b/qga/channel-posix.c
@@ -215,7 +215,7 @@ static gboolean ga_channel_open(GAChannel *c, const gchar *path,
return false;
}
- fd = socket_listen(addr, &local_err);
+ fd = socket_listen(addr, 1, &local_err);
qapi_free_SocketAddress(addr);
if (local_err != NULL) {
g_critical("%s", error_get_pretty(local_err));