Re: [Spice-devel] [PATCH 04/11] Use a marker instead of checking a RedPipeItem presence

2016-05-20 Thread Jonathon Jongsma
I would prefer a more elegant long-term solution, but this is OK as a short-term solution Acked-by: Jonathon Jongsma On Fri, 2016-05-20 at 14:01 +0100, Frediano Ziglio wrote: > This avoids having to retain a pointer just to check item is still in > the queue with ring_item_is_linked(&item->link

[Spice-devel] [PATCH 04/11] Use a marker instead of checking a RedPipeItem presence

2016-05-20 Thread Frediano Ziglio
This avoids having to retain a pointer just to check item is still in the queue with ring_item_is_linked(&item->link). Signed-off-by: Frediano Ziglio --- server/red-channel.c | 30 ++ server/red-channel.h | 1 + 2 files changed, 27 insertions(+), 4 deletions(-) diff