diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-09-27 15:06:57 +0200 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2015-11-26 13:17:38 +0000 |
commit | 7ae663ad69c9ce6e8802d766ad5396bf15fd6653 (patch) | |
tree | b58f0d93d3785fce11808ac5e1ad2b4dc7ff1b50 /server/display-channel.c | |
parent | 7d38c28a0aef29567bf6b87188cbdd10a5fcb8e9 (diff) |
worker: changed some spice_assert in display_channel_draw_till
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'server/display-channel.c')
-rw-r--r-- | server/display-channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/display-channel.c b/server/display-channel.c index 1496f078..cffd6fa6 100644 --- a/server/display-channel.c +++ b/server/display-channel.c @@ -1344,8 +1344,8 @@ void display_channel_draw_till(DisplayChannel *display, const SpiceRect *area, i Drawable *now; QRegion rgn; - spice_assert(last); - spice_assert(ring_item_is_linked(&last->list_link)); + spice_return_if_fail(last); + spice_return_if_fail(ring_item_is_linked(&last->list_link)); surface = &display->surfaces[surface_id]; |