ack On Wed, Jan 19, 2011 at 7:08 PM, Alon Levy <[email protected]> wrote: > --- > server/red_channel.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/server/red_channel.c b/server/red_channel.c > index b621be9..f8d5a0e 100644 > --- a/server/red_channel.c > +++ b/server/red_channel.c > @@ -458,10 +458,10 @@ void red_channel_reset_send_data(RedChannel *channel) > > void red_channel_init_send_data(RedChannel *channel, uint16_t msg_type, > PipeItem *item) > { > + ASSERT(channel->send_data.item == NULL); > channel->send_data.header->type = msg_type; > + channel->send_data.item = item; > if (item) { > - ASSERT(channel->send_data.item == NULL); > - channel->send_data.item = item; > channel->hold_item(item); > } > } > -- > 1.7.3.4 > > _______________________________________________ > Spice-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/spice-devel >
-- Marc-André Lureau _______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
