chiark / gitweb /
service: fix parsing word size functions
[elogind.git] / src / conf-parser.c
index a6d4d92aa29468e63adc3405dd256484c4137259..a2204530c29cf11d5a9e6896534e8d35d2af069c 100644 (file)
@@ -32,7 +32,6 @@
 #include "log.h"
 
 #define COMMENTS "#;\n"
-#define LINE_MAX 4096
 
 /* Run the user supplied parser for an assignment */
 static int next_assignment(
@@ -50,7 +49,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;