summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins/files/patch-check_http.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-05-15 13:07:20 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-05-15 13:07:20 +0000
commit28f968e38aecfca99842a5c484bf9436ba947619 (patch)
tree078e69ebce82ed0d478c472fee2936a8cd1b7d9b /net-mgmt/nagios-plugins/files/patch-check_http.c
parent- Update to 0.8.6.20060514 (diff)
Update to Nagios Plugins 1.4.3:
- Variable ordering and style realigned with bsd.port.mk - Moved manual pre-configure aclocal call to use bsd.autotools.mk (with manual tweak to ACLOCAL_ARGS required) - Listed resulting plug-in name in user configurable options - Removed remaining hard-coded variables including local state directory - Correctly identified location of Perl to configure script - Removed setlocale (LC_NUMERIC, "C") patch to plug-ins containing scanf(3) and an already defined LC_NUMERIC - Reworked all patches (named using make makepatch) - Corrected minor warning in check_ntp.pl regarding undefined use of $jitter PR: ports/97189 Submitted by: Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
Diffstat (limited to 'net-mgmt/nagios-plugins/files/patch-check_http.c')
-rw-r--r--net-mgmt/nagios-plugins/files/patch-check_http.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/net-mgmt/nagios-plugins/files/patch-check_http.c b/net-mgmt/nagios-plugins/files/patch-check_http.c
deleted file mode 100644
index 932e226ca941..000000000000
--- a/net-mgmt/nagios-plugins/files/patch-check_http.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- plugins/check_http.c.orig Mon Sep 15 07:03:47 2003
-+++ plugins/check_http.c Sat Nov 27 12:32:09 2004
-@@ -83,7 +83,7 @@
- #define HTTP_URL "/"
- #define CRLF "\r\n"
-
--char timestamp[17] = "";
-+char timestamp[256] = "";
- int specify_port = FALSE;
- int server_port = HTTP_PORT;
- char server_port_text[6] = "";
-@@ -1010,7 +1010,7 @@
-
- days_left = (mktime (&stamp) - time (NULL)) / 86400;
- snprintf
-- (timestamp, 17, "%02d/%02d/%04d %02d:%02d",
-+ (timestamp, sizeof(timestamp), "%02d/%02d/%04d %02d:%02d",
- stamp.tm_mon + 1,
- stamp.tm_mday, stamp.tm_year + 1900, stamp.tm_hour, stamp.tm_min);
-