[Spice-devel] [PATCH 16/17] Introduce reds_stream_set_channel()

Christophe Fergeau cfergeau at redhat.com
Mon Jan 13 03:02:10 PST 2014


On Sun, Jan 12, 2014 at 02:03:25PM +0200, Alon Levy wrote:
> > +void reds_stream_set_channel(RedsStream *stream, int connection_id,
> > +                             int channel_type, int channel_id)
> > +{
> > +    stream->info->connection_id = connection_id;
> > +    stream->info->type = connection_id;
> > +    stream->info->id   = channel_type;
> 
> type became id.

Ooops, thanks for catching this, it's now:

+void reds_stream_set_channel(RedsStream *stream, int connection_id,
+                             int channel_type, int channel_id)
+{
+    stream->info->connection_id = connection_id;
+    stream->info->type = channel_type;
+    stream->info->id   = channel_id;
+}
+
 

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20140113/b1db2e23/attachment.pgp>


More information about the Spice-devel mailing list