aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-03-09 09:22:03 +0100
committerMihai Moldovan <ionic@ionic.de>2017-03-09 09:22:03 +0100
commitdc8477f76372e685eb999a71afb4e5ec7e3176f1 (patch)
treea4855be163e748b86200a0972f6f3697be3bc3c9 /nxcomp
parentd8a4f3be71bcf991e6fd30d10e8607aeaedc11d0 (diff)
downloadnx-libs-dc8477f76372e685eb999a71afb4e5ec7e3176f1.tar.gz
nx-libs-dc8477f76372e685eb999a71afb4e5ec7e3176f1.tar.bz2
nx-libs-dc8477f76372e685eb999a71afb4e5ec7e3176f1.zip
nxcomp/ChannelEndPoint.cpp: we're not really testing for a character, but a pointer.
Fixes: ArcticaProject/nxlibs#389.
Diffstat (limited to 'nxcomp')
-rw-r--r--nxcomp/ChannelEndPoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nxcomp/ChannelEndPoint.cpp b/nxcomp/ChannelEndPoint.cpp
index 8f7d0c68b..286210dc7 100644
--- a/nxcomp/ChannelEndPoint.cpp
+++ b/nxcomp/ChannelEndPoint.cpp
@@ -137,7 +137,7 @@ ChannelEndPoint::getSpec(char **socketUri) const {
free(unixPath);
free(hostName);
- if (*socketUri != '\0')
+ if (NULL != *socketUri)
return true;
return false;