Archived
1
0

pass in environment

This commit is contained in:
Jeff Becker
2018-05-06 10:21:58 -04:00
parent 720aeee7ee
commit 3b8fd51e53
5 changed files with 10 additions and 9 deletions

View File

@@ -11,7 +11,7 @@
#include <vector>
int main(int argc, char *argv[])
int main(int argc, char *argv[], char * argenv[])
{
if (argc != 2)
{
@@ -95,7 +95,7 @@ int main(int argc, char *argv[])
std::cerr << "exec frontend specified but no 'exec' value provided" << std::endl;
return 1;
}
nntp->SetFrontend(new nntpchan::ExecFrontend(frontconf["exec"]));
nntp->SetFrontend(new nntpchan::ExecFrontend(frontconf["exec"], argenv));
}
else if (ftype == "staticfile")
{