From: Jonathon Jongsma <jjongsma@xxxxxxxxxx> --- server/reds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/reds.c b/server/reds.c index 58e45ae..81d253c 100644 --- a/server/reds.c +++ b/server/reds.c @@ -2570,7 +2570,7 @@ void reds_set_client_mm_time_latency(RedsState *reds, RedClient *client, uint32_ } } -static int reds_init_net(void) +static int reds_init_net(RedsState *reds) { if (spice_port != -1 || spice_family == AF_UNIX) { reds->listen_socket = reds_init_socket(spice_addr, spice_port, spice_family); @@ -3396,7 +3396,7 @@ static int do_spice_init(SpiceCoreInterface *core_interface) } #endif - if (reds_init_net() < 0) { + if (reds_init_net(reds) < 0) { goto err; } if (reds->secure_listen_socket != -1) { -- 2.4.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel