From ecd7d470831c61bc78e33cdbc786937eed0fa2d1 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 11 Apr 2008 19:07:41 +0000 Subject: anytun-controld: bind to option ctr: daemonize, chroot drop privs --- anytun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'anytun.cpp') 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) { -- cgit v1.2.3