From 7e74e00d167da659ba6c3db3e8822008d27c081b Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Fri, 8 Aug 2003 14:59:27 +0000 Subject: [PATCH] Allow empty lines in config files. --- src/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conf.c b/src/conf.c index c95664f7..e927abdb 100644 --- a/src/conf.c +++ b/src/conf.c @@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: conf.c,v 1.9.4.73 2003/08/08 12:24:52 guus Exp $ + $Id: conf.c,v 1.9.4.74 2003/08/08 14:59:27 guus Exp $ */ #include "system.h" @@ -359,7 +359,7 @@ int read_config_file(avl_tree_t *config_tree, const char *fname) lineno++; - if(*line == '#') + if(!*line || *line == '#') continue; if(ignore) { -- 2.39.5