summaryrefslogtreecommitdiffstats
path: root/unix/vncconfig/vncExt.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/vncconfig/vncExt.c')
-rw-r--r--unix/vncconfig/vncExt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/vncconfig/vncExt.c b/unix/vncconfig/vncExt.c
index ff6b4d65..e9b948d3 100644
--- a/unix/vncconfig/vncExt.c
+++ b/unix/vncconfig/vncExt.c
@@ -146,7 +146,7 @@ char* XVncExtGetParamDesc(Display* dpy, const char* param)
}
if (rep.success) {
desc = (char*)Xmalloc(rep.descLen+1);
- if (!*desc) {
+ if (!desc) {
_XEatData(dpy, (rep.descLen+1)&~1);
return False;
}