summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruglym8 <uglym8@gmail.com>2016-05-11 19:04:02 +0300
committeruglym8 <uglym8@gmail.com>2016-05-11 19:04:02 +0300
commitd01de97639f7733df5e1720bee3ef205bb24e128 (patch)
tree2fe6c8cdefd819aaf1dc90372cc348f6b14a93d5
parent3821d7edcc7371025d6d8b5575324fc7fe0aee14 (diff)
downloadtigervnc-d01de97639f7733df5e1720bee3ef205bb24e128.tar.gz
tigervnc-d01de97639f7733df5e1720bee3ef205bb24e128.zip
Fix ptr usage
-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;
}