diff --git a/Util/include/Poco/Util/WinService.h b/Util/include/Poco/Util/WinService.h index a983c8de9..4d29cc4d3 100644 --- a/Util/include/Poco/Util/WinService.h +++ b/Util/include/Poco/Util/WinService.h @@ -140,7 +140,7 @@ public: void setFailureActions(FailureActionVector failureActions, const std::string& command = "", const std::string& rebootMessage = ""); /// Sets the Failure Actions for the service. - FailureActionTypeVector getFailureAction() const; + FailureActionTypeVector getFailureActions() const; /// Returns the Failure Actions for the service. void setDescription(const std::string& description); diff --git a/Util/src/WinService.cpp b/Util/src/WinService.cpp index 47786513d..cb36824cb 100644 --- a/Util/src/WinService.cpp +++ b/Util/src/WinService.cpp @@ -329,7 +329,7 @@ void WinService::setFailureActions(FailureActionVector failureActions, const std delete[] actions; } -WinService::FailureActionTypeVector WinService::getFailureAction() const { +WinService::FailureActionTypeVector WinService::getFailureActions() const { open(); int size = 4096; DWORD bytesNeeded; diff --git a/Util/testsuite/TestSuite_vs150.vcxproj b/Util/testsuite/TestSuite_vs150.vcxproj index d7009ebaf..7e678031f 100644 --- a/Util/testsuite/TestSuite_vs150.vcxproj +++ b/Util/testsuite/TestSuite_vs150.vcxproj @@ -329,7 +329,6 @@ - @@ -359,7 +358,6 @@ -