Code

pagesize count off by one
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>
Thu, 14 Nov 2002 05:25:44 +0000 (05:25 +0000)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>
Thu, 14 Nov 2002 05:25:44 +0000 (05:25 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@196 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_http.c

index e6310c8d10a569de6cfea7c7d17651039b04b388..781d1498cc170a49529b8ac2a2524007b1c79046 100644 (file)
@@ -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 = "";