mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 18:00:28 +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 );
|
vsnprintf( msg, MAX_LOG_MSG_LEN, Format, ap );
|
||||||
va_end( ap );
|
va_end( ap );
|
||||||
|
|
||||||
if (Use_Log) Log( Level, "%s", msg );
|
if (!Use_Log) {
|
||||||
else puts( msg );
|
if (Level <= LOG_WARNING)
|
||||||
|
printf(" - %s\n", msg);
|
||||||
|
else
|
||||||
|
puts(msg);
|
||||||
|
} else
|
||||||
|
Log(Level, "%s", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user