summaryrefslogtreecommitdiff
path: root/src/anytun.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-01-20 08:19:16 +0000
committerChristian Pointner <equinox@anytun.org>2010-01-20 08:19:16 +0000
commit9c363297c80c00d5b940b8614fb1b4e375b45fe6 (patch)
treee7e87832dfb0890b42f87f989dbd855e9d64105b /src/anytun.cpp
parentintegrated winservice into signal controller (diff)
winService works now together with signalController
Diffstat (limited to 'src/anytun.cpp')
-rw-r--r--src/anytun.cpp4
1 files changed, 2 insertions, 2 deletions
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