chiark / gitweb /
conf-parser: check all parse callbacks
[elogind.git] / src / conf-parser.c
index a6d4d92aa29468e63adc3405dd256484c4137259..13f873869fe353b11fa87178c5397590cbb2cb89 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;