Re: [spice-server 7/8] Use more explicit variable name in marshall_gl_scanout()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> ---
>  server/dcc-send.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/server/dcc-send.c b/server/dcc-send.c
> index a1f9214..eb866cf 100644
> --- a/server/dcc-send.c
> +++ b/server/dcc-send.c
> @@ -2307,12 +2307,12 @@ static void marshall_gl_scanout(RedChannelClient
> *rcc,
>      DisplayChannel *display_channel = DCC_TO_DC(dcc);
>      QXLInstance* qxl = display_channel->common.qxl;
>  
> -    SpiceMsgDisplayGlScanoutUnix *so = red_qxl_get_gl_scanout(qxl);
> -    if (so != NULL) {
> +    SpiceMsgDisplayGlScanoutUnix *scanout = red_qxl_get_gl_scanout(qxl);
> +    if (scanout != NULL) {
>          red_channel_client_init_send_data(rcc,
>          SPICE_MSG_DISPLAY_GL_SCANOUT_UNIX, NULL);
> -        spice_marshall_msg_display_gl_scanout_unix(m, so);
> +        spice_marshall_msg_display_gl_scanout_unix(m, scanout);
>      }
> -    red_qxl_put_gl_scanout(qxl, so);
> +    red_qxl_put_gl_scanout(qxl, scanout);
>  }
>  
>  static void marshall_gl_draw(RedChannelClient *rcc,

Acked-by: Frediano Ziglio <fziglio@xxxxxxxxxx>

Frediano
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]