[Spice-devel] [PATCH spice-server v2] Remove red_pipe_add_verb family function

Christophe Fergeau cfergeau at redhat.com
Fri Oct 28 07:49:27 UTC 2016


On Thu, Oct 27, 2016 at 12:41:33PM -0400, Frediano Ziglio wrote:
> > 
> > Hey,
> > 
> > On Wed, Oct 26, 2016 at 09:45:15AM +0100, Frediano Ziglio wrote:
> > > These functions were implementing the same stuff as empty
> > > messages functions provided by RedChannel so reuse them.
> > > 
> > > The implementation seems a bit different but the result
> > > is the same. Specifically:
> > > - RedEmptyMsgPipeItem::msg is int while RedVerbItem::verb was
> > >   uint16_t however this data goes into the message type which
> > >   is uint16_t (a 16 bit on the network protocol);
> > 
> > > - red_channel_client_send_empty_msg calls
> > >   red_channel_client_begin_send_message while red_marshall_verb
> > >   not. However red_marshall_verb calls are followed by either
> > 
> > I think you are missing a "does" -> "while red_marshall_verb does not"
> > 
> > >   cursor_channel_send_item or dcc_send_item which always
> > >   call red_channel_client_begin_send_message.
> > 
> > "always sent" I think.
> > 
> 
> Why sent? red_channel_client_begin_send_message is a function.

Arg, dunno what I was doing when writing this email. I meant to suggest
to replace "always call red_channel_client..." with "always calls
red_channel_client_...". 

Sorry for the confusion,

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20161028/a1697969/attachment-0001.sig>


More information about the Spice-devel mailing list