]> source.dussan.org Git - tigervnc.git/commitdiff
Fix ptr usage 310/head
authoruglym8 <uglym8@gmail.com>
Wed, 11 May 2016 16:04:02 +0000 (19:04 +0300)
committeruglym8 <uglym8@gmail.com>
Wed, 11 May 2016 16:04:02 +0000 (19:04 +0300)
unix/vncconfig/vncExt.c

index ff6b4d653b3556ebc2dbe1a7613fa5277653c75c..e9b948d311ebb73d2a2e6f14c0d6b7ed312058ff 100644 (file)
@@ -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;
     }