summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins/files/patch-check_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios-plugins/files/patch-check_http.c')
-rw-r--r--net-mgmt/nagios-plugins/files/patch-check_http.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-mgmt/nagios-plugins/files/patch-check_http.c b/net-mgmt/nagios-plugins/files/patch-check_http.c
new file mode 100644
index 000000000000..f36426c5a0f9
--- /dev/null
+++ b/net-mgmt/nagios-plugins/files/patch-check_http.c
@@ -0,0 +1,12 @@
+--- plugins/check_http.c.orig Mon Jun 30 11:56:08 2003
++++ plugins/check_http.c Fri Dec 19 23:03:52 2003
+@@ -198,3 +198,3 @@
+
+-char timestamp[17] = "";
++char timestamp[256] = "";
+ int specify_port = FALSE;
+@@ -975,3 +975,3 @@
+ snprintf
+- (timestamp, 16, "%02d/%02d/%04d %02d:%02d",
++ (timestamp, sizeof(timestamp), "%02d/%02d/%04d %02d:%02d",
+ stamp.tm_mon + 1,