summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0115679)
raw | patch | inline | side by side (parent: 0115679)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Wed, 25 Sep 2002 08:01:44 +0000 (08:01 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Wed, 25 Sep 2002 08:01:44 +0000 (08:01 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@104 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_http.c | patch | blob | history |
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 733388b8dfbca3a250879e3fa6d28a95b185e0a3..b3b2263d711461b2b27961c655f0804075f89fca 100644 (file)
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
/* fetch the page */
pagesize = (size_t) 0;
while ((i = my_recv ()) > 0) {
+ buffer[i] = "\0";
full_page = strscat (full_page, buffer);
pagesize += i;
}