projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8633496
)
Allow empty lines in config files.
author
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 8 Aug 2003 14:59:27 +0000
(14:59 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 8 Aug 2003 14:59:27 +0000
(14:59 +0000)
src/conf.c
patch
|
blob
|
history
diff --git
a/src/conf.c
b/src/conf.c
index c95664f7c286467ff5eba46c4c66b81b9b8e66f5..e927abdbdfa9bb2ca9f9898caabd963ab8d5680a 100644
(file)
--- 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.7
3 2003/08/08 12:24:52
guus Exp $
+ $Id: conf.c,v 1.9.4.7
4 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) {