Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/spicevmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/spicevmc.c b/server/spicevmc.c index 460edb04f..84bbb73c2 100644 --- a/server/spicevmc.c +++ b/server/spicevmc.c @@ -786,7 +786,7 @@ static void spicevmc_connect(RedChannel *channel, RedClient *client, return; } - sif = spice_char_device_get_interface(vmc_channel->chardev_sin); + sif = spice_char_device_get_interface(sin); if (sif->state) { sif->state(sin, 1); } -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel