[PATCH spice-html5] spiceconn: Set channel id

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

 



Allow to work with more channels of one type
---
 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@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]