summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios/files/patch-0007-fix_downtime_struct
blob: 819f80d21239ec8ff8b28d1afa82fddde8931726 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- ./include/downtime.h.orig	2013-08-30 19:46:14.000000000 +0200
+++ ./include/downtime.h	2014-04-18 10:49:26.000000000 +0200
@@ -39,24 +39,26 @@
 	char *service_description;
 	time_t entry_time;
 	time_t start_time;
-	time_t flex_downtime_start;		/* Time the flexible downtime started */
 	time_t end_time;
 	int fixed;
 	unsigned long triggered_by;
 	unsigned long duration;
 	unsigned long downtime_id;
-	int is_in_effect;
-	int	start_notification_sent;
 	char *author;
 	char *comment;
 #ifdef NSCORE
 	unsigned long comment_id;
+#endif
+	int is_in_effect;
+#ifdef NSCORE
 	int start_flex_downtime;
 	int incremented_pending_downtime;
 //	int start_event; 
 //	int stop_event;
 #endif
 	struct scheduled_downtime_struct *next;
+	time_t flex_downtime_start;		/* Time the flexible downtime started */
+	int	start_notification_sent;
 	} scheduled_downtime;