Merge branch 'collectd-5.5'
[collectd.git] / src / curl.c
index 6377780..d9ced60 100644 (file)
@@ -341,7 +341,7 @@ static int cc_config_add_match (web_page_t *page, /* {{{ */
       match->dstype);
   if (match->match == NULL)
   {
-    ERROR ("curl plugin: tail_match_add_match_simple failed.");
+    ERROR ("curl plugin: match_create_simple failed.");
     cc_web_match_free (match);
     return (-1);
   }
@@ -686,7 +686,7 @@ static int cc_read_page (web_page_t *wp) /* {{{ */
   if (wp->response_time)
     cc_submit_response_time (wp, cdtime() - start);
   if (wp->stats != NULL)
-    curl_stats_dispatch (wp->stats, wp->curl, hostname_g, "curl", wp->instance, NULL);
+    curl_stats_dispatch (wp->stats, wp->curl, hostname_g, "curl", wp->instance);
 
   if(wp->response_code)
   {