X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fapache.c;h=156ad5dc905d757d2fd2fd05f97c1b5a8e748633;hb=f763c933f11eeb07d4a159fc711190434439eef4;hp=c90213e7a72278e2ece3be650c53fdfee2af5446;hpb=54ab766f15c5eaf404885ce6a2943f05fadec150;p=collectd.git diff --git a/src/apache.c b/src/apache.c index c90213e7..156ad5dc 100644 --- a/src/apache.c +++ b/src/apache.c @@ -284,6 +284,7 @@ static void apache_read (void) if (url == NULL) return; + apache_buffer_len = 0; if (curl_easy_perform (curl) != 0) { syslog (LOG_WARNING, "apache: curl_easy_perform failed: %s", apache_curl_error);