]> git.meshlink.io Git - meshlink/commitdiff
Fix compiler error on Windows.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 3 Dec 2012 08:08:21 +0000 (09:08 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 3 Dec 2012 08:08:21 +0000 (09:08 +0100)
src/process.c

index 37ba84b65e3aed922baf1ed406cab026fc4d2428..1093ea8f63049d431b3a9e6a564a1b48179681ad 100644 (file)
@@ -127,7 +127,7 @@ DWORD WINAPI controlhandler(DWORD request, DWORD type, LPVOID boe, LPVOID bah) {
                        return ERROR_CALL_NOT_IMPLEMENTED;
        }
 
-       event_loopexit(NULL);
+       event_exit();
        status.dwWaitHint = 30000;
        status.dwCurrentState = SERVICE_STOP_PENDING;
        SetServiceStatus(statushandle, &status);