Code

Fix failing tests after 6fd0d25
[collectd.git] / src / curl.c
index cf2e816b8cade4afbc71efd8bf09c3c4aabe4e33..0cfedf325e0ff768e3d176793768a45adb864e0f 100644 (file)
@@ -22,6 +22,7 @@
  **/
 
 #include "collectd.h"
+
 #include "common.h"
 #include "plugin.h"
 #include "configfile.h"
@@ -341,7 +342,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);
   }