diff --git a/src/tail_csv.c b/src/tail_csv.c
index 740095d6100c5c1a03fa37dc007d56828b234dc5..919f94821498a2dc3823882211c720fb943b2130 100644 (file)
--- a/src/tail_csv.c
+++ b/src/tail_csv.c
for (i = 0; i < ci->children_num; ++i){
oconfig_item_t *option = ci->children + i;
- status = 0;
if (strcasecmp("Type", option->key) == 0)
status = cf_util_get_string(option, &md->type);
else if (ds->ds_num != 1)
{
ERROR ("tail_csv plugin: The type \"%s\" has %i data sources. "
- "Only types with a single data soure are supported.",
+ "Only types with a single data source are supported.",
ds->type, ds->ds_num);
continue;
}