From 9c363297c80c00d5b940b8614fb1b4e375b45fe6 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 20 Jan 2010 08:19:16 +0000 Subject: winService works now together with signalController --- src/anytun.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/anytun.cpp') diff --git a/src/anytun.cpp b/src/anytun.cpp index 2e1e49c..48ef739 100644 --- a/src/anytun.cpp +++ b/src/anytun.cpp @@ -353,13 +353,13 @@ int main(int argc, char* argv[]) } } -int real_main(int argc, char* argv[], WinService& service) +int real_main(int argc, char* argv[], WinService* service) { bool daemonized=true; #else int main(int argc, char* argv[]) { - DaemonService service; + DaemonService* service = NULL; bool daemonized=false; #endif try -- cgit v1.2.3