[Spice-devel] [PATCH] server/reds: add "usbredir" to recognized channel names

Marc-André Lureau marcandre.lureau at gmail.com
Mon May 7 05:19:43 PDT 2012


On Mon, May 7, 2012 at 1:37 PM, Alon Levy <alevy at redhat.com> wrote:
> RHBZ: 819484
>
> Signed-off-by: Alon Levy <alevy at redhat.com>
> ---
>  server/reds.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/server/reds.c b/server/reds.c
> index 1696fbc..26d6f89 100644
> --- a/server/reds.c
> +++ b/server/reds.c
> @@ -3971,6 +3971,7 @@ SPICE_GNUC_VISIBLE int spice_server_set_channel_security(SpiceServer *s, const c
>  #ifdef USE_SMARTCARD
>         [ SPICE_CHANNEL_SMARTCARD] = "smartcard",
>  #endif
> +        [ SPICE_CHANNEL_USBREDIR ] = "usbredir",
>     };
>     int i;

Why do we have a ifdef for smartcard but not for usbredir?

Otherwise looks trivial, ack.


-- 
Marc-André Lureau


More information about the Spice-devel mailing list