aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2002-11-14 05:25:44 +0000
committerGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2002-11-14 05:25:44 +0000
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 e6310c8d..781d1498 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -527,7 +527,7 @@ check_http (void)
char *page = "";
char *auth = NULL;
int i = 0;
- size_t pagesize = 1;
+ size_t pagesize = 0;
char *full_page = "";
char *buf = NULL;
char *pos = "";