From 79cfa52bf976e2cd83492699612d5626fbdb5426 Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 28 Dec 2015 08:30:40 -0500 Subject: [PATCH] fixed windows build --- Win32/Win32Service.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Win32/Win32Service.cpp b/Win32/Win32Service.cpp index bf7794e8..392d940d 100644 --- a/Win32/Win32Service.cpp +++ b/Win32/Win32Service.cpp @@ -132,7 +132,7 @@ void I2PService::Start(DWORD dwArgc, PSTR *pszArgv) } catch (DWORD dwError) { - LogPrint("Win32Service Start", dwError); + LogPrint(eLogError, "Win32Service Start", dwError); SetServiceStatus(SERVICE_STOPPED, dwError); } @@ -147,7 +147,7 @@ void I2PService::Start(DWORD dwArgc, PSTR *pszArgv) void I2PService::OnStart(DWORD dwArgc, PSTR *pszArgv) { - LogPrint("Win32Service in OnStart", + LogPrint(eLogInfo, "Win32Service in OnStart", EVENTLOG_INFORMATION_TYPE); Daemon.start(); @@ -186,7 +186,7 @@ void I2PService::Stop() } catch (DWORD dwError) { - LogPrint("Win32Service Stop", dwError); + LogPrint(eLogInfo, "Win32Service Stop", dwError); SetServiceStatus(dwOriginalState); }