diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-09-09 14:01:08 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-09-09 14:01:08 +0100 |
commit | 5af2f68a2cab8b3703382e69d7b3fb38c2fe7e65 (patch) | |
tree | 16be8e9d5596960fcf4c2f0296fc8e82bd66c1b6 /cfg.c | |
parent | fe536457cca384fdaa5fcf80236404cfaafc38f9 (diff) | |
parent | 67ee995cc1ec0a9ae2247dae6bdde54211be8c5a (diff) |
Merge branch 'obsd-master'
Diffstat (limited to 'cfg.c')
-rw-r--r-- | cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -97,7 +97,7 @@ load_cfg(const char *path, struct cmd_q *cmdq, char **cause) } found = 0; - while ((buf = fparseln(f, NULL, &line, delim, 0))) { + while ((buf = fparseln(f, NULL, &line, delim, 0)) != NULL) { log_debug("%s: %s", path, buf); /* Skip empty lines. */ |