chiark / gitweb /
conf-parser: check all parse callbacks
authorLennart Poettering <lennart@poettering.net>
Tue, 22 Jun 2010 02:09:26 +0000 (04:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 22 Jun 2010 02:09:26 +0000 (04:09 +0200)
src/conf-parser.c

index a6d4d92..13f8738 100644 (file)
@@ -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;