[Spice-devel] [PATCH spice-html5] spiceconn: Set channel id

Victor Toso lists at victortoso.com
Fri Sep 2 18:47:46 UTC 2016


Hi,

On Fri, Sep 02, 2016 at 04:37:11PM +0200, Pavel Grunt wrote:
> Allow to work with more channels of one type

In case Oliver's feedback is positive, include the bug
reference/link [0] on commit log.

[0] https://bugs.freedesktop.org/show_bug.cgi?id=97575

:)

> ---
>  spiceconn.js | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/spiceconn.js b/spiceconn.js
> index 41d2fa3..9707818 100644
> --- a/spiceconn.js
> +++ b/spiceconn.js
> @@ -119,7 +119,8 @@ SpiceConn.prototype =
>
>          msg.connection_id = this.connection_id;
>          msg.channel_type = this.type;
> -        // FIXME - we're not setting a channel_id...
> +        msg.channel_id = this.chan_id;
> +
>          msg.common_caps.push(
>              (1 << SPICE_COMMON_CAP_PROTOCOL_AUTH_SELECTION) |
>              (1 << SPICE_COMMON_CAP_MINI_HEADER)
> -- 
> 2.9.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list