diff --git a/src/apache.c b/src/apache.c
index c90213e7a72278e2ece3be650c53fdfee2af5446..156ad5dc905d757d2fd2fd05f97c1b5a8e748633 100644 (file)
--- a/src/apache.c
+++ b/src/apache.c
if (url == NULL)
return;
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);
if (curl_easy_perform (curl) != 0)
{
syslog (LOG_WARNING, "apache: curl_easy_perform failed: %s", apache_curl_error);