On Thu, Nov 12, 2015 at 3:00 PM, Frediano Ziglio <fziglio@xxxxxxxxxx> wrote: > From: Marc-André Lureau <marcandre.lureau@xxxxxxxxx> > > --- > server/red_worker.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/server/red_worker.c b/server/red_worker.c > index 6bc015f..d33a352 100644 > --- a/server/red_worker.c > +++ b/server/red_worker.c > @@ -2254,7 +2254,7 @@ static inline int current_add(RedWorker *worker, Ring *ring, Drawable *drawable) > QRegion exclude_rgn; > RingItem *exclude_base = NULL; > > - spice_assert(!region_is_empty(&item->base.rgn)); > + spice_return_val_if_fail(!region_is_empty(&item->base.rgn), FALSE); > region_init(&exclude_rgn); > now = ring_next(ring, ring); > > -- > 2.4.3 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/spice-devel ACK! _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel