From 756804cea8ccfbe1c9fe36cd93580f4e5aefcc21 Mon Sep 17 00:00:00 2001 From: Isaac Boukris Date: Fri, 2 Feb 2018 14:42:58 +0000 Subject: [PATCH] parser: relax may-be-attr logic we check for too many hyphens later --- src/main/parser.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/parser.c b/src/main/parser.c index 8b57725a1f1..d83516b035e 100644 --- a/src/main/parser.c +++ b/src/main/parser.c @@ -1214,10 +1214,6 @@ static ssize_t condition_tokenize(TALLOC_CTX *ctx, CONF_ITEM *ci, char const *st if (c->data.map->lhs->name[i] == '-') { hyphens++; - if (hyphens > 1) { - may_be_attr = false; - break; - } } } -- 2.47.3