changeset 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 0d191b783ed1
children ed2785b4dd48
files parser-cfg.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
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) {