summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2016-05-13 16:13:44 +0200
committerPierre Ossman <ossman@cendio.se>2016-05-13 16:13:44 +0200
commit690b3e4c1a7a8fc5a1f4d1a5c346030ebd23df48 (patch)
tree9248b63962fa6f13dc299bd602c3a2126ac530a8 /unix
parentb7afc386fb67150d212ffd995d31ee0e4016fdee (diff)
parentd01de97639f7733df5e1720bee3ef205bb24e128 (diff)
downloadtigervnc-690b3e4c1a7a8fc5a1f4d1a5c346030ebd23df48.tar.gz
tigervnc-690b3e4c1a7a8fc5a1f4d1a5c346030ebd23df48.zip
Merge branch 'fix_desc_ptr' of https://github.com/uglym8/tigervnc
Diffstat (limited to 'unix')
-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;
}