Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2015-09-09 14:01:08 +01:00
2 changed files with 5 additions and 1 deletions

2
cfg.c
View File

@ -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. */