From c49beb1e5cee2b36c916c64c571967d8ef19c58a Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Fri, 4 Aug 2017 14:25:15 +0200 Subject: [PATCH] revert str parse len 1 --- lib/ecoli_node_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ecoli_node_str.c b/lib/ecoli_node_str.c index 85a4046..a388841 100644 --- a/lib/ecoli_node_str.c +++ b/lib/ecoli_node_str.c @@ -55,7 +55,7 @@ ec_node_str_parse(const struct ec_node *gen_node, (void)state; - if (ec_strvec_len(strvec) != 1) + if (ec_strvec_len(strvec) == 0) return EC_PARSED_NOMATCH; str = ec_strvec_val(strvec, 0); -- 2.39.5