repo: ngircd action: commit revision: path_from: revision_from: d41f4d6d20797c9dfdde272b8689f4cc7622fe38: path_to: revision_to:
commit d41f4d6d20797c9dfdde272b8689f4cc7622fe38 Author: Alexander BartonDate: Sat Jun 25 14:56:27 2011 +0200 Display configuration errors more prominent on "--configtest" diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c
--- a/src/ngircd/conf.c
+++ b/src/ngircd/conf.c
@@ -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
-----END OF PAGE-----