[Spice-commits] server/red-channel-client.c server/red-channel-client.h
Frediano Ziglio
fziglio at kemper.freedesktop.org
Wed Sep 21 15:32:37 UTC 2016
server/red-channel-client.c | 2 --
server/red-channel-client.h | 1 -
2 files changed, 3 deletions(-)
New commits:
commit 30184bb7fb3ffd4dbfdc5119300f15d06d0d59f9
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Sun Sep 18 07:08:30 2016 +0100
Remove only set serial field
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
diff --git a/server/red-channel-client.c b/server/red-channel-client.c
index 8ec2d7c..dddf27c 100644
--- a/server/red-channel-client.c
+++ b/server/red-channel-client.c
@@ -674,7 +674,6 @@ RedChannelClient *red_channel_client_create(int size, RedChannel *channel, RedCl
}
rcc->incoming.header.data = rcc->incoming.header_buf;
- rcc->incoming.serial = 1;
if (!channel->channel_cbs.config_socket(rcc)) {
goto error;
@@ -740,7 +739,6 @@ RedChannelClient *red_channel_client_create_dummy(int size,
}
rcc->incoming.header.data = rcc->incoming.header_buf;
- rcc->incoming.serial = 1;
g_queue_init(&rcc->priv->pipe);
rcc->priv->dummy = TRUE;
diff --git a/server/red-channel-client.h b/server/red-channel-client.h
index b2386d3..5bfac3a 100644
--- a/server/red-channel-client.h
+++ b/server/red-channel-client.h
@@ -195,7 +195,6 @@ typedef struct IncomingHandler {
uint32_t header_pos;
uint8_t *msg; // data of the msg following the header. allocated by alloc_msg_buf.
uint32_t msg_pos;
- uint64_t serial;
} IncomingHandler;
struct RedChannelClient {
More information about the Spice-commits
mailing list