From 2efb507adb66343ef47ecb7b6c53b82ced331e65 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Sun, 22 Nov 2015 20:12:34 +0000 Subject: worker: fix constant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use mnemonic instead of constant to return enumeration value Signed-off-by: Frediano Ziglio Acked-by: Fabiano FidĂȘncio --- 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 ea957b68..e0eebcee 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -1492,7 +1492,7 @@ static FillBitsType fill_bits(DisplayChannelClient *dcc, SpiceMarshaller *m, spice_error("invalid image type %u", image.descriptor.type); } pthread_mutex_unlock(&dcc->pixmap_cache->lock); - return 0; + return FILL_BITS_TYPE_INVALID; } static void fill_mask(RedChannelClient *rcc, SpiceMarshaller *m, -- cgit