[Spice-devel] [PATCH spice-server v2] reds-stream: Introduce reds_stream_set_no_delay() helper

Christophe Fergeau cfergeau at redhat.com
Mon Feb 27 12:42:37 UTC 2017


On Mon, Feb 27, 2017 at 12:35:15PM +0000, Frediano Ziglio wrote:
> From: Christophe Fergeau <cfergeau at redhat.com>
> 
> The code to enable/disable on a TCP socket is duplicated in multiple
> places in the code base, this commit replaces this duplicated code with
> a helper in RedsStream.
> ---
>  server/common-graphics-channel.c | 15 +++------------
>  server/red-channel-client.c      | 17 ++---------------
>  server/reds-stream.c             | 16 ++++++++++++++++
>  server/reds-stream.h             |  1 +
>  server/reds.c                    |  8 +-------
>  server/sound.c                   |  8 +-------
>  6 files changed, 24 insertions(+), 41 deletions(-)
> 
> Changes since v1:
> - boolean style updates

As far as I'm concerned, NACK to these changes.

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/20170227/0a0baa67/attachment.sig>


More information about the Spice-devel mailing list