mirror of https://github.com/mpv-player/mpv
Fix stray newline that should only be printed in verbose mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19468 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
18f18eb2dc
commit
af8b8d2fa4
|
@ -73,7 +73,9 @@ int m_config_parse_config_file(m_config_t* config, char *conffile)
|
||||||
mp_msg(MSGT_CFGPARSER,MSGL_FATAL,"\ncan't get memory for 'line': %s", strerror(errno));
|
mp_msg(MSGT_CFGPARSER,MSGL_FATAL,"\ncan't get memory for 'line': %s", strerror(errno));
|
||||||
ret = -1;
|
ret = -1;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
} else
|
||||||
|
|
||||||
|
mp_msg(MSGT_CFGPARSER,MSGL_V,"\n");
|
||||||
|
|
||||||
if ((fp = fopen(conffile, "r")) == NULL) {
|
if ((fp = fopen(conffile, "r")) == NULL) {
|
||||||
mp_msg(MSGT_CFGPARSER,MSGL_V,": %s\n", strerror(errno));
|
mp_msg(MSGT_CFGPARSER,MSGL_V,": %s\n", strerror(errno));
|
||||||
|
@ -81,7 +83,6 @@ int m_config_parse_config_file(m_config_t* config, char *conffile)
|
||||||
ret = 0;
|
ret = 0;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
mp_msg(MSGT_CFGPARSER,MSGL_INFO,"\n");
|
|
||||||
|
|
||||||
while (fgets(line, MAX_LINE_LEN, fp)) {
|
while (fgets(line, MAX_LINE_LEN, fp)) {
|
||||||
if (errors >= 16) {
|
if (errors >= 16) {
|
||||||
|
|
Loading…
Reference in New Issue