diff options
author | Juan Quintela <quintela@redhat.com> | 2019-08-19 18:08:21 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2019-09-03 23:24:42 +0200 |
commit | fc8135c63021e8e442a7a894e5434f210614a73c (patch) | |
tree | 2fbd34e7d7a57cd9f9b31a2695c4d7f6270ebe08 /ui/vnc.c | |
parent | 7959e29ea0d6100038367beff9a0da0c83b322a2 (diff) |
socket: Add num connections to qio_net_listener_open_sync()
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'ui/vnc.c')
-rw-r--r-- | ui/vnc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3765,7 +3765,7 @@ static int vnc_display_listen(VncDisplay *vd, qio_net_listener_set_name(vd->listener, "vnc-listen"); for (i = 0; i < nsaddr; i++) { if (qio_net_listener_open_sync(vd->listener, - saddr[i], + saddr[i], 1, errp) < 0) { return -1; } @@ -3780,7 +3780,7 @@ static int vnc_display_listen(VncDisplay *vd, qio_net_listener_set_name(vd->wslistener, "vnc-ws-listen"); for (i = 0; i < nwsaddr; i++) { if (qio_net_listener_open_sync(vd->wslistener, - wsaddr[i], + wsaddr[i], 1, errp) < 0) { return -1; } |