masqmail
diff src/conf.c @ 428:e972c3cbe1e0
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.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 03 Apr 2013 21:45:57 +0200 |
parents | f37384470855 |
children | 5593964ec779 |
line diff
1.1 --- a/src/conf.c Mon Jun 04 20:02:31 2012 +0200 1.2 +++ b/src/conf.c Wed Apr 03 21:45:57 2013 +0200 1.3 @@ -91,7 +91,7 @@ 1.4 fname, strerror(errno)); 1.5 exit(1); 1.6 } 1.7 - while (!fgets(buf, sizeof buf, fptr)) { 1.8 + while (fgets(buf, sizeof buf, fptr)) { 1.9 g_strstrip(buf); 1.10 if (!*buf || *buf == '#') { 1.11 continue;