From e5b6353cf25c99c3f08bf51e29933352f7140e8f Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 19 Aug 2019 14:48:21 +0200 Subject: socket: Add backlog parameter to socket_listen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Current parameter was always one. We continue with that value for now in all callers. Signed-off-by: Juan Quintela Reviewed-by: Daniel P. Berrangé --- Moved trace to socket_listen --- qga/channel-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qga/channel-posix.c') 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)); -- cgit v1.2.3