summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-04-11 19:07:41 +0000
committerChristian Pointner <equinox@anytun.org>2008-04-11 19:07:41 +0000
commitecd7d470831c61bc78e33cdbc786937eed0fa2d1 (patch)
tree41824072ed2504711757f302acf1f5c475917bd8 /anytun.cpp
parentadded control host option (diff)
anytun-controld: bind to option
ctr: daemonize, chroot drop privs
Diffstat (limited to 'anytun.cpp')
-rw-r--r--anytun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/anytun.cpp b/anytun.cpp
index a309f67..5100ab8 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -342,7 +342,7 @@ bool initLibGCrypt()
return true;
}
-void chrootAndDrop(string const& chrootdir, string const& username)
+void chrootAndDrop(std::string const& chrootdir, std::string const& username)
{
if (getuid() != 0)
{