summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-09-25 08:01:44 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-09-25 08:01:44 (GMT)
commitb198e9623a0f4129920700b46240e0f0e2c7a8f1 (patch)
tree83a16c23b7bd4ef33299e16477d079de9c65a7e9
parent0115679a112019e545e0cd344e3883ffd3479d5b (diff)
downloadmonitoring-plugins-b198e9623a0f4129920700b46240e0f0e2c7a8f1.tar.gz
incorporate comment on my_recv from Russell Scibetti
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@104 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/check_http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 733388b..b3b2263 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -663,6 +663,7 @@ check_http (void)
663 /* fetch the page */ 663 /* fetch the page */
664 pagesize = (size_t) 0; 664 pagesize = (size_t) 0;
665 while ((i = my_recv ()) > 0) { 665 while ((i = my_recv ()) > 0) {
666 buffer[i] = "\0";
666 full_page = strscat (full_page, buffer); 667 full_page = strscat (full_page, buffer);
667 pagesize += i; 668 pagesize += i;
668 } 669 }