diff options
Diffstat (limited to 'node')
-rw-r--r-- | node/Node.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/node/Node.cpp b/node/Node.cpp index a1416896..b76d4b6d 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -100,6 +100,9 @@ Node::NodeControlClient::NodeControlClient(const char *hp,void (*resultHandler)( { _NodeControlClientImpl *impl = (_NodeControlClientImpl *)_impl; + if (!hp) + hp = ZT_DEFAULTS.defaultHomePath.c_str(); + std::string at; if (authToken) at = authToken; |