Changeset 50a5db2 in nscp for include/NSCHelper.cpp
- Timestamp:
- 01/17/10 15:26:29 (3 years ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2
- Children:
- ef0e24b
- Parents:
- 6822839
- File:
-
- 1 edited
-
include/NSCHelper.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
include/NSCHelper.cpp
r1bfe6f0 r50a5db2 108 108 bool NSCHelper::report::matches(unsigned int report, NSCAPI::nagiosReturn code) { 109 109 return ( 110 (code == NSCAPI::returnOK && ( report&REPORT_OK)==REPORT_OK) ||110 (code == NSCAPI::returnOK && ((report&REPORT_OK)==REPORT_OK) ) || 111 111 (code == NSCAPI::returnCRIT && ((report&REPORT_ERROR)==REPORT_ERROR) ) || 112 112 (code == NSCAPI::returnWARN && ((report&REPORT_WARNING)==REPORT_WARNING) ) ||
Note: See TracChangeset
for help on using the changeset viewer.








