diff options
Diffstat (limited to 'server/red_channel.c')
-rw-r--r-- | server/red_channel.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/server/red_channel.c b/server/red_channel.c index f8944c01..1b705d67 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -455,6 +455,7 @@ void red_channel_shutdown(RedChannel *channel) red_channel_pipe_clear(channel); shutdown(channel->stream->socket, SHUT_RDWR); channel->stream->shutdown = TRUE; + channel->incoming.shut = TRUE; } } @@ -531,12 +532,6 @@ static void red_channel_event(int fd, int event, void *data) } } -void red_channel_add_buf(RedChannel *channel, void *data, uint32_t size) -{ - spice_marshaller_add_ref(channel->send_data.marshaller, data, size); - channel->send_data.header->size += size; -} - void red_channel_init_send_data(RedChannel *channel, uint16_t msg_type, PipeItem *item) { ASSERT(channel->send_data.item == NULL); |