=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cfg.c,v retrieving revision 1.41 retrieving revision 1.42 diff -c -r1.41 -r1.42 *** src/usr.bin/tmux/cfg.c 2015/09/01 10:10:59 1.41 --- src/usr.bin/tmux/cfg.c 2015/09/09 12:09:21 1.42 *************** *** 1,4 **** ! /* $OpenBSD: cfg.c,v 1.41 2015/09/01 10:10:59 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cfg.c,v 1.42 2015/09/09 12:09:21 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott *************** *** 98,104 **** } found = 0; ! while ((buf = fparseln(f, NULL, &line, delim, 0))) { log_debug("%s: %s", path, buf); /* Skip empty lines. */ --- 98,104 ---- } found = 0; ! while ((buf = fparseln(f, NULL, &line, delim, 0)) != NULL) { log_debug("%s: %s", path, buf); /* Skip empty lines. */