summaryrefslogtreecommitdiff
path: root/node/Service.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-24 13:53:03 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-24 13:53:03 -0700
commit81b12b682649c1b742f20c54449df19e12a5a9eb (patch)
tree0e88948c259528ab20884d125e6e6d7bc9c4cdaa /node/Service.cpp
parent431476e2e4474c83013c2a1a6d80f1e815a2d37c (diff)
downloadinfinitytier-81b12b682649c1b742f20c54449df19e12a5a9eb.tar.gz
infinitytier-81b12b682649c1b742f20c54449df19e12a5a9eb.zip
Rename the ubiquitous _r pointer to RuntimeEnvironment to RR just to be a little more consistent about using _ to denote private member variables.
Diffstat (limited to 'node/Service.cpp')
-rw-r--r--node/Service.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/node/Service.cpp b/node/Service.cpp
index a43d104a..d8e4bb2a 100644
--- a/node/Service.cpp
+++ b/node/Service.cpp
@@ -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 {