Title: [opsview-base] [250] Fixed patch change
Revision
250
Author
tvoon
Date
2013-04-30 14:05:53 +0100 (Tue, 30 Apr 2013)

Log Message

Fixed patch change

Modified Paths


Modified: trunk/patches/nagios_notification_level.patch
===================================================================
--- trunk/patches/nagios_notification_level.patch	2013-04-30 11:37:47 UTC (rev 249)
+++ trunk/patches/nagios_notification_level.patch	2013-04-30 13:05:53 UTC (rev 250)
@@ -42,7 +42,7 @@
 +		log_debug_info(DEBUGL_NOTIFICATIONS,2,"This contact's notification_level_start %d is greater than the current notification number %d\n", cntct->notification_level_start, notification_number);
 +		return ERROR;
 +		}
-+	if((notification_level_stop > 0) && (notification_number > cntct->notification_level_stop)) {
++	if((cntct->notification_level_stop > 0) && (notification_number > cntct->notification_level_stop)) {
 +		log_debug_info(DEBUGL_NOTIFICATIONS,2,"This contact's notification_level_stop %d is less than the current notification number %d\n", cntct->notification_level_stop, notification_number);
 +		return ERROR;
 +		}
@@ -71,7 +71,7 @@
 +		log_debug_info(DEBUGL_NOTIFICATIONS,2,"This contact's notification_level_start %d is greater than the current notification number %d\n", cntct->notification_level_start, notification_number);
 +		return ERROR;
 +		}
-+	if((notification_level_stop > 0 ) && ( notification_number > cntct->notification_level_stop ) ) {
++	if((cntct->notification_level_stop > 0 ) && ( notification_number > cntct->notification_level_stop ) ) {
 +		log_debug_info(DEBUGL_NOTIFICATIONS,2,"This contact's notification_level_stop %d is less than the current notification number %d\n", cntct->notification_level_stop, notification_number);
 +		return ERROR;
 +		}

_______________________________________________
Opsview-checkins mailing list
Opsview-checkins@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to