diff parser-cfg.c @ 19462:08fc089138f4

Fix stray newline that should only be printed in verbose mode.
author diego
date Sun, 20 Aug 2006 21:41:44 +0000
parents 1a14fde7680d
children a6911070ac6e
line wrap: on
line diff
--- a/parser-cfg.c	Sun Aug 20 18:52:55 2006 +0000
+++ b/parser-cfg.c	Sun Aug 20 21:41:44 2006 +0000
@@ -73,7 +73,9 @@
 		mp_msg(MSGT_CFGPARSER,MSGL_FATAL,"\ncan't get memory for 'line': %s", strerror(errno));
 		ret = -1;
 		goto out;
-	}
+	} else
+
+	mp_msg(MSGT_CFGPARSER,MSGL_V,"\n");
 
 	if ((fp = fopen(conffile, "r")) == NULL) {
 	  mp_msg(MSGT_CFGPARSER,MSGL_V,": %s\n", strerror(errno));
@@ -81,7 +83,6 @@
 		ret = 0;
 		goto out;
 	}
-	mp_msg(MSGT_CFGPARSER,MSGL_INFO,"\n");
 
 	while (fgets(line, MAX_LINE_LEN, fp)) {
 		if (errors >= 16) {