Display configuration errors more prominent on "--configtest"

This commit is contained in:
Alexander Barton 2011-06-25 14:56:27 +02:00
parent 391cf4e2a1
commit d41f4d6d20
1 changed files with 7 additions and 2 deletions

View File

@ -1933,8 +1933,13 @@ va_dcl
vsnprintf( msg, MAX_LOG_MSG_LEN, Format, ap );
va_end( ap );
if (Use_Log) Log( Level, "%s", msg );
else puts( msg );
if (!Use_Log) {
if (Level <= LOG_WARNING)
printf(" - %s\n", msg);
else
puts(msg);
} else
Log(Level, "%s", msg);
}
#ifdef DEBUG