# HG changeset patch # User markus schnalke # Date 1365018357 -7200 # Node ID e972c3cbe1e08d9242cafb671b798a2bfa4dce6b # Parent c96a755b5fc4d2ca48144d1e06f2a885615f54c1 Bugfix: Read as long as there *is* content. Before this fix masqmail did not read the contents of files that were given as values to config items. diff -r c96a755b5fc4 -r e972c3cbe1e0 src/conf.c --- a/src/conf.c Mon Jun 04 20:02:31 2012 +0200 +++ b/src/conf.c Wed Apr 03 21:45:57 2013 +0200 @@ -91,7 +91,7 @@ fname, strerror(errno)); exit(1); } - while (!fgets(buf, sizeof buf, fptr)) { + while (fgets(buf, sizeof buf, fptr)) { g_strstrip(buf); if (!*buf || *buf == '#') { continue;