From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/130858-check_time.c.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 web/attachments/130858-check_time.c.patch (limited to 'web/attachments/130858-check_time.c.patch') diff --git a/web/attachments/130858-check_time.c.patch b/web/attachments/130858-check_time.c.patch new file mode 100644 index 0000000..a00fb3d --- /dev/null +++ b/web/attachments/130858-check_time.c.patch @@ -0,0 +1,15 @@ +*** nagios-plugins-1.4/plugins/check_time.c Sat Dec 25 23:17:44 2004 +--- nagios-plugins-1.4-fixed/plugins/check_time.c Fri Apr 8 08:15:56 2005 +*************** +*** 34,38 **** + #define UNIX_EPOCH 2208988800UL + +! unsigned long server_time, raw_server_time; + time_t diff_time; + int warning_time = 0; +--- 34,38 ---- + #define UNIX_EPOCH 2208988800UL + +! uint32_t server_time, raw_server_time; + time_t diff_time; + int warning_time = 0; -- cgit v1.2.3-74-g34f1