Icinga / icinga2

The core of our monitoring platform with a powerful configuration language and REST API.
https://icinga.com/docs/icinga2/latest
GNU General Public License v2.0
2.01k stars 575 forks source link

[dev.icinga.com #7670] Check return values for Win32 API/COM method calls #2250

Closed icinga-migration closed 9 years ago

icinga-migration commented 9 years ago

This issue has been migrated from Redmine: https://dev.icinga.com/issues/7670

Created by gbeutner on 2014-11-13 19:39:06 +00:00

Assignee: jflach Status: Resolved (closed on 2014-11-14 13:00:08 +00:00) Target Version: (none) Last Update: 2014-11-14 13:00:08 +00:00 (in Redmine)

Icinga Version: 2.2.0

This includes (but is not limited to):

Do not manually compare HRESULTs with S_OK (because there are other non-error HRESULTs). Use the SUCCEEDED macro (http://msdn.microsoft.com/en-us/library/windows/desktop/ms687197(v=vs.85).aspx) instead.

Changesets

2014-11-14 12:57:54 +00:00 by jflach 616716dc55c0c606173efc6ec8847715e1fe03c4

Clean up check plugins.

fixes #7670 #7669
icinga-migration commented 9 years ago

Updated by jflach on 2014-11-14 13:00:08 +00:00

Applied in changeset 616716dc55c0c606173efc6ec8847715e1fe03c4.