diff options
author | Mihai Moldovan <ionic@ionic.de> | 2017-03-09 09:22:03 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-03-09 09:22:03 +0100 |
commit | dc8477f76372e685eb999a71afb4e5ec7e3176f1 (patch) | |
tree | a4855be163e748b86200a0972f6f3697be3bc3c9 | |
parent | d8a4f3be71bcf991e6fd30d10e8607aeaedc11d0 (diff) | |
download | nx-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.
-rw-r--r-- | nxcomp/ChannelEndPoint.cpp | 2 |
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; |