[X2Go-Commits] [nx-libs] 03/08: Fix clang error: comparison of array authCookie not equal to a null pointer is always true

git-admin at x2go.org git-admin at x2go.org
Mon Mar 5 23:34:05 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x-rpm-debug
in repository nx-libs.

commit d14d5838b6c10388d9b8fd320721536ed72d3c8d
Author: Mario Trangoni <mjtrangoni at gmail.com>
Date:   Mon Jan 1 17:19:33 2018 +0100

    Fix clang error: comparison of array authCookie not equal to a null pointer is always true
---
 nxcomp/src/Loop.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp
index 5365a99..f22053c 100644
--- a/nxcomp/src/Loop.cpp
+++ b/nxcomp/src/Loop.cpp
@@ -3573,7 +3573,7 @@ int SetupAuthInstance()
 
   if (control -> ProxyMode == proxy_server)
   {
-    if (authCookie != NULL && *authCookie != '\0')
+    if (*authCookie != '\0')
     {
       if (useLaunchdSocket == 1)
       {

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list