check_logfiles: 3.7.5.1
[omd.git] / packages / nagios / patches / 0007-fix_downtime_struct.dif
blobaf0e245b585e78c372a69d10c5e3b47ab64ad510
1 --- nagios-3.5.0/include/downtime.h     2013-02-10 00:55:47.000000000 +0100
2 +++ /tmp/downtime.h     2013-04-04 17:05:14.000000000 +0200
3 @@ -39,24 +39,26 @@
4         char *service_description;
5         time_t entry_time;
6         time_t start_time;
7 -       time_t flex_downtime_start;             /* Time the flexible downtime started */
8         time_t end_time;
9         int fixed;
10         unsigned long triggered_by;
11         unsigned long duration;
12         unsigned long downtime_id;
13 -       int is_in_effect;
14 -       int     start_notification_sent;
15         char *author;
16         char *comment;
17  #ifdef NSCORE
18         unsigned long comment_id;
19 +#endif
20 +       int is_in_effect;
21 +#ifdef NSCORE
22         int start_flex_downtime;
23         int incremented_pending_downtime;
24  //     int start_event; 
25  //     int stop_event;
26  #endif
27         struct scheduled_downtime_struct *next;
28 +       time_t flex_downtime_start;             /* Time the flexible downtime started */
29 +       int     start_notification_sent;
30         } scheduled_downtime;