summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-07 12:43:46 +0200
committerAlon Levy <alevy@redhat.com>2010-11-07 12:43:46 +0200
commit5f4464204c8e6bd13c08d200126fa4763d3aaa45 (patch)
treed1e65a942ac930a39591888c639133f9c3e40a48
parentfcff38b9f974277964a44260b7295979dfa24ef0 (diff)
downloadspice-5f4464204c8e6bd13c08d200126fa4763d3aaa45.tar.gz
spice-5f4464204c8e6bd13c08d200126fa4763d3aaa45.tar.xz
spice-5f4464204c8e6bd13c08d200126fa4763d3aaa45.zip
server/red_channel: two 80 column fixes
-rw-r--r--server/red_channel.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/server/red_channel.c b/server/red_channel.c
index 3ec693d3..02012bc7 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -110,8 +110,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);
@@ -339,8 +340,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;