mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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
This commit is contained in:
parent
3483534ec3
commit
e5b6353cf2
6 changed files with 34 additions and 20 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue