summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-11-14 05:25:44 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-11-14 05:25:44 (GMT)
commit00db49d7fabc041f53ad8b195a22a2de4b09a5da (patch)
tree97c57b44943dd7fb95966ea0dd0b564ff289c581
parent9848747a8eb123ace7acebbee5fed7a5095d960d (diff)
downloadmonitoring-plugins-00db49d7fabc041f53ad8b195a22a2de4b09a5da.tar.gz
pagesize count off by one
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@196 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index e6310c8..781d149 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -527,7 +527,7 @@ check_http (void)
527 char *page = ""; 527 char *page = "";
528 char *auth = NULL; 528 char *auth = NULL;
529 int i = 0; 529 int i = 0;
530 size_t pagesize = 1; 530 size_t pagesize = 0;
531 char *full_page = ""; 531 char *full_page = "";
532 char *buf = NULL; 532 char *buf = NULL;
533 char *pos = ""; 533 char *pos = "";