mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 09:50:29 +00:00
Display configuration errors more prominent on "--configtest"
This commit is contained in:
parent
391cf4e2a1
commit
d41f4d6d20
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user