summaryrefslogtreecommitdiffstats
path: root/web/attachments/130858-check_time.c.patch
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/130858-check_time.c.patch
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
Diffstat (limited to 'web/attachments/130858-check_time.c.patch')
-rw-r--r--web/attachments/130858-check_time.c.patch15
1 files changed, 15 insertions, 0 deletions
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 @@
1*** nagios-plugins-1.4/plugins/check_time.c Sat Dec 25 23:17:44 2004
2--- nagios-plugins-1.4-fixed/plugins/check_time.c Fri Apr 8 08:15:56 2005
3***************
4*** 34,38 ****
5 #define UNIX_EPOCH 2208988800UL
6
7! unsigned long server_time, raw_server_time;
8 time_t diff_time;
9 int warning_time = 0;
10--- 34,38 ----
11 #define UNIX_EPOCH 2208988800UL
12
13! uint32_t server_time, raw_server_time;
14 time_t diff_time;
15 int warning_time = 0;