Commit dc8477f7 authored by Mihai Moldovan's avatar Mihai Moldovan

nxcomp/ChannelEndPoint.cpp: we're not really testing for a character, but a pointer.

Fixes: ArcticaProject/nxlibs#389.
parent d8a4f3be
...@@ -137,7 +137,7 @@ ChannelEndPoint::getSpec(char **socketUri) const { ...@@ -137,7 +137,7 @@ ChannelEndPoint::getSpec(char **socketUri) const {
free(unixPath); free(unixPath);
free(hostName); free(hostName);
if (*socketUri != '\0') if (NULL != *socketUri)
return true; return true;
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment