[Spice-devel] [PATCH spice-server 1/3] spicevmc: Reuse "sin" variable
Snir Sheriber
ssheribe at redhat.com
Sun Jun 2 08:25:53 UTC 2019
ack
On 6/1/19 3:14 PM, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> 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);
> }
More information about the Spice-devel
mailing list