aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
diff options
context:
space:
mode:
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;