Docs, Node picks a default home folder if created with NULL as its home path, and add binary tap drivers (self-signed for now).

This commit is contained in:
Adam Ierymenko 2013-08-24 17:10:34 -04:00
parent 6d7b1c1e5f
commit e0bdc02139
9 changed files with 218 additions and 3 deletions

View file

@ -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;