From 0d847d941077eea398638d4077dceaa56aa68cfc Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 19 Mar 2014 15:29:00 -0700 Subject: More build fixes. --- node/Node.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'node') 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; -- cgit v1.2.3