summaryrefslogtreecommitdiffstats
path: root/server/red_worker.c
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2015-11-22 20:12:34 +0000
committerFrediano Ziglio <fziglio@redhat.com>2015-11-24 09:04:47 +0000
commit2efb507adb66343ef47ecb7b6c53b82ced331e65 (patch)
tree6da196c7ba8aa94b8b506b539bae5a7d854f8cd1 /server/red_worker.c
parent4e8f24e3510ce8cb3fa6b1ce5509b94cc1478917 (diff)
downloadspice-2efb507adb66343ef47ecb7b6c53b82ced331e65.tar.gz
spice-2efb507adb66343ef47ecb7b6c53b82ced331e65.tar.xz
spice-2efb507adb66343ef47ecb7b6c53b82ced331e65.zip
worker: fix constant
Use mnemonic instead of constant to return enumeration value Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Diffstat (limited to 'server/red_worker.c')
-rw-r--r--server/red_worker.c2
1 files changed, 1 insertions, 1 deletions
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,