diff options
author | justanothercatgirl <sotov@twistea.su> | 2025-04-02 21:00:51 +0200 |
---|---|---|
committer | justanothercatgirl <sotov@twistea.su> | 2025-04-02 21:00:51 +0200 |
commit | d946c8cf11385f5766e827ae71b3fc798750a335 (patch) | |
tree | 52105e039563e264cbaf84a0bda6cd1df7945b30 /configfile.c | |
parent | 09d24d7cd0b7e85633f2f43808b12871bb209d69 (diff) |
Note: currently breaks repos that contain no readme
Diffstat (limited to 'configfile.c')
-rw-r--r-- | configfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configfile.c b/configfile.c index e039109..56b5f5b 100644 --- a/configfile.c +++ b/configfile.c @@ -79,8 +79,9 @@ int parse_configfile(const char *filename, configfile_value_fn fn) if (!(f = fopen(filename, "r"))) return -1; nesting++; - while (read_config_line(f, &name, &value)) + while (read_config_line(f, &name, &value)) { fn(name.buf, value.buf); + } nesting--; fclose(f); strbuf_release(&name); |