diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-11-14 05:25:44 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-11-14 05:25:44 +0000 |
commit | 00db49d7fabc041f53ad8b195a22a2de4b09a5da (patch) | |
tree | 97c57b44943dd7fb95966ea0dd0b564ff289c581 /plugins/check_http.c | |
parent | 9848747a8eb123ace7acebbee5fed7a5095d960d (diff) | |
download | monitoring-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
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r-- | plugins/check_http.c | 2 |
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) | |||
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 = ""; |