From e6123095f0283dc3cca8cc152c721787d3f6efcc Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 24 Feb 2008 15:23:32 +0100 Subject: [PATCH] tail plugin: Fix a typo in the name of the config keys. --- src/tail.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tail.c b/src/tail.c index 7d77e253..01bf6292 100644 --- a/src/tail.c +++ b/src/tail.c @@ -30,7 +30,7 @@ * Instance "exim" * * Regex "S=([1-9][0-9]*)" - * DSType "CouterAdd" + * DSType "CounterAdd" * Type "ipt_bytes" * Instance "total" * @@ -92,11 +92,11 @@ static int ctail_config_add_match_dstype (ctail_config_match_t *cm, else if (strncasecmp ("Counter", ci->values[0].value.string, strlen ("Counter")) == 0) { cm->flags = UTILS_MATCH_DS_TYPE_COUNTER; - if (strcasecmp ("CouterSet", ci->values[0].value.string) == 0) + if (strcasecmp ("CounterSet", ci->values[0].value.string) == 0) cm->flags |= UTILS_MATCH_CF_COUNTER_SET; - else if (strcasecmp ("CouterAdd", ci->values[0].value.string) == 0) + else if (strcasecmp ("CounterAdd", ci->values[0].value.string) == 0) cm->flags |= UTILS_MATCH_CF_COUNTER_ADD; - else if (strcasecmp ("CouterInc", ci->values[0].value.string) == 0) + else if (strcasecmp ("CounterInc", ci->values[0].value.string) == 0) cm->flags |= UTILS_MATCH_CF_COUNTER_INC; else cm->flags = 0; -- 2.30.2