[Spice-devel] [PATCH 10/24] server/red_channel: two 80 column fixes

Marc-André Lureau marcandre.lureau at gmail.com
Wed Feb 2 10:51:48 PST 2011


ack

On Wed, Jan 19, 2011 at 7:07 PM, Alon Levy <alevy at redhat.com> wrote:
> ---
>  server/red_channel.c |   10 ++++++----
>  1 files changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/server/red_channel.c b/server/red_channel.c
> index 2744fda..92e60fe 100644
> --- a/server/red_channel.c
> +++ b/server/red_channel.c
> @@ -115,8 +115,9 @@ static void red_peer_handle_incoming(RedsStreamContext *peer, IncomingHandler *h
>         }
>
>         if (handler->parser) {
> -            parsed = handler->parser(handler->msg, handler->msg + handler->header.size, handler->header.type,
> -                                     SPICE_VERSION_MINOR, &parsed_size, &parsed_free);
> +            parsed = handler->parser(handler->msg,
> +                handler->msg + handler->header.size, handler->header.type,
> +                SPICE_VERSION_MINOR, &parsed_size, &parsed_free);
>             if (parsed == NULL) {
>                 red_printf("failed to parse message type %d", handler->header.type);
>                 handler->on_error(handler->opaque);
> @@ -341,8 +342,9 @@ RedChannel *red_channel_create_parser(int size, RedsStreamContext *peer,
>                                channel_on_outgoing_error_proc outgoing_error)
>  {
>     RedChannel *channel = red_channel_create(size, peer,
> -        core, migrate, handle_acks, config_socket, do_nothing_disconnect, do_nothing_handle_message,
> -        alloc_recv_buf, release_recv_buf, hold_item, send_item, release_item);
> +        core, migrate, handle_acks, config_socket, do_nothing_disconnect,
> +        do_nothing_handle_message, alloc_recv_buf, release_recv_buf, hold_item,
> +        send_item, release_item);
>
>     if (channel == NULL) {
>         return NULL;
> --
> 1.7.3.4
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>



-- 
Marc-André Lureau


More information about the Spice-devel mailing list