From e0bdc021395fed6a6931d973b1f780c3a0c7de83 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Sat, 24 Aug 2013 17:10:34 -0400 Subject: Docs, Node picks a default home folder if created with NULL as its home path, and add binary tap drivers (self-signed for now). --- node/Node.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'node/Node.cpp') diff --git a/node/Node.cpp b/node/Node.cpp index bb68cdaf..1884f9ce 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -258,8 +258,9 @@ Node::Node(const char *hp) { _NodeImpl *impl = (_NodeImpl *)_impl; - impl->renv.homePath = hp; - + if (hp) + impl->renv.homePath = hp; + else impl->renv.homePath = ZT_DEFAULTS.defaultHomePath; impl->reasonForTermination = Node::NODE_RUNNING; impl->started = false; impl->running = false; -- cgit v1.2.3