mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-11 22:56:31 +00:00
spicevmc: Reuse "sin" variable
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Snir Sheriber <ssheribe@redhat.com>
This commit is contained in:
parent
a9af580a6e
commit
a84d9c653e
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user