summaryrefslogtreecommitdiffstats
path: root/server
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
parent4e8f24e3510ce8cb3fa6b1ce5509b94cc1478917 (diff)
downloadspice-2efb507adb66343ef47ecb7b6c53b82ced331e65.zip
spice-2efb507adb66343ef47ecb7b6c53b82ced331e65.tar.gz
spice-2efb507adb66343ef47ecb7b6c53b82ced331e65.tar.xz
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')
-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 ea957b6..e0eebce 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,