chiark / gitweb /
journal: properly implement matching with multiple matches
[elogind.git] / src / conf-parser.c
index 3bb430e375183499889243ee9ef14169e141123a..a71dcd0d8fb8c87460ea24f81b244334ce740519 100644 (file)
@@ -314,7 +314,7 @@ int config_parse(
                                 continuation = c;
                         else {
                                 continuation = strdup(l);
-                                if (!c) {
+                                if (!continuation) {
                                         r = -ENOMEM;
                                         goto finish;
                                 }