aboutsummaryrefslogtreecommitdiff
path: root/cfg.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2015-09-10 12:42:25 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2015-09-10 12:42:25 +0100
commiteb1084754c2dd08bbf05d1c09f52abdbf5b373d6 (patch)
treedbc147b51ff57147a4a8ee4e5a8139904d8cb5ac /cfg.c
parent79e5b6290733567266a584d817fed48e1f2a52c0 (diff)
parent1fd756066cc0df12debb8f4e44dee46142c73348 (diff)
downloadrtmux-eb1084754c2dd08bbf05d1c09f52abdbf5b373d6.tar.gz
rtmux-eb1084754c2dd08bbf05d1c09f52abdbf5b373d6.tar.bz2
rtmux-eb1084754c2dd08bbf05d1c09f52abdbf5b373d6.zip
Merge branch 'master' of github.com:tmux/tmux
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.c b/cfg.c
index 9548f582..9657302b 100644
--- a/cfg.c
+++ b/cfg.c
@@ -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. */