]> git.ipfire.org Git - pakfire.git/commitdiff
config: Continue after parsing a multiline value
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Oct 2022 16:09:07 +0000 (16:09 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Oct 2022 16:09:07 +0000 (16:09 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/config.c

index d622f7ffb33cc82d92fd965355cf0c6f614362c6..61d408ff5cb7ca68d099f6429a7b2c0e6cfdfb92 100644 (file)
@@ -453,6 +453,9 @@ int pakfire_config_read(struct pakfire_config* config, FILE* f) {
                        r = pakfire_config_append(config, section, key, line);
                        if (r)
                                goto ERROR;
+
+                       // Skip to the next line
+                       continue;
                }
 
                // Handle any assignments