X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fcurl.c;h=d9ced60dc0416edbb8112d12dae35f61148fb385;hb=52969b45cee18330d72b9fafe1f37349d62414b6;hp=6377780cc255d0fb54760d144bccc09dc233b7ab;hpb=a5a33953ba9c8ca6a17531df5fa17181d59467c5;p=collectd.git diff --git a/src/curl.c b/src/curl.c index 6377780c..d9ced60d 100644 --- a/src/curl.c +++ b/src/curl.c @@ -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) {