From: Lennart Poettering Date: Tue, 22 Jun 2010 02:09:26 +0000 (+0200) Subject: conf-parser: check all parse callbacks X-Git-Tag: v1~129 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=827119a9cbf617aa42eef63e5b99e981776c744a;ds=sidebyside conf-parser: check all parse callbacks --- diff --git a/src/conf-parser.c b/src/conf-parser.c index a6d4d92aa..13f873869 100644 --- a/src/conf-parser.c +++ b/src/conf-parser.c @@ -50,7 +50,7 @@ static int next_assignment( assert(lvalue); assert(rvalue); - for (; t->parse; t++) { + for (; t->parse || t->lvalue; t++) { if (t->lvalue && !streq(lvalue, t->lvalue)) continue;