Both jump to check worker_ring_item (internal or external loops) Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/display-channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/display-channel.c b/server/display-channel.c index 58c1fd6..40e6608 100644 --- a/server/display-channel.c +++ b/server/display-channel.c @@ -517,7 +517,7 @@ static int current_add_equal(DisplayChannel *display, DrawItem *item, TreeItem * dpi_ring_item = ring_next(&other_drawable->pipes, dpi_ring_item); worker_ring_item = ring_next(&RED_CHANNEL(display)->clients, worker_ring_item); - break; + continue; } dcc_prepend_drawable(dcc, drawable); worker_ring_item = ring_next(&RED_CHANNEL(display)->clients, -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel