diff options
Diffstat (limited to 'node/Service.cpp')
| -rw-r--r-- | node/Service.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/node/Service.cpp b/node/Service.cpp index a43d104a..09d07b08 100644 --- a/node/Service.cpp +++ b/node/Service.cpp @@ -52,7 +52,7 @@ namespace ZeroTier { Service::Service(const RuntimeEnvironment *renv,const char *name,const char *path,void (*handler)(void *,Service &,const Dictionary &),void *arg) : - _r(renv), + RR(renv), _path(path), _name(name), _arg(arg), @@ -139,9 +139,9 @@ void Service::threadMain() dup2(in[0],STDIN_FILENO); dup2(out[1],STDOUT_FILENO); dup2(err[1],STDERR_FILENO); - setenv("ZT_HOME",_r->homePath.c_str(),1); - chdir(_r->homePath.c_str()); - execl(_path.c_str(),_path.c_str(),_r->homePath.c_str(),(const char *)0); + setenv("ZT_HOME",RR->homePath.c_str(),1); + chdir(RR->homePath.c_str()); + execl(_path.c_str(),_path.c_str(),RR->homePath.c_str(),(const char *)0); exit(-1); } } else { |
