Re: [Spice-devel] [PATCH spice-server] stream: Simplify FOREACH_STREAMS macro

2017-09-13 Thread Christophe de Dinechin
> On 13 Sep 2017, at 11:20, Frediano Ziglio wrote: > > This macro is exactly doing what RING_FOREACH just passing streams > ring. > > Signed-off-by: Frediano Ziglio > --- > server/stream.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/server/stream.c b/server/strea

[Spice-devel] [PATCH spice-server] stream: Simplify FOREACH_STREAMS macro

2017-09-13 Thread Frediano Ziglio
This macro is exactly doing what RING_FOREACH just passing streams ring. Signed-off-by: Frediano Ziglio --- server/stream.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/stream.c b/server/stream.c index 0148d1eda..51dfc8847 100644 --- a/server/stream.c +++ b/serve