Module: ngircd.git Branch: master Commit: cd954ee7e902743cd679b418edf1630225c512c4 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=cd954...
Author: Alexander Barton alex@barton.de Date: Fri Sep 10 21:10:17 2010 +0200
Reformat "server state" debug messages a little bit
---
src/ngircd/client.c | 2 +- src/ngircd/sighandlers.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/ngircd/client.c b/src/ngircd/client.c index d53dc96..0334783 100644 --- a/src/ngircd/client.c +++ b/src/ngircd/client.c @@ -1285,7 +1285,7 @@ Client_DebugDump(void) c = My_Clients; while (c) { Log(LOG_DEBUG, - " - %s, type=%d, host=%s, user=%s, conn=%d, start=%ld, flags=%s", + " - %s: type=%d, host=%s, user=%s, conn=%d, start=%ld, flags=%s", Client_ID(c), Client_Type(c), Client_Hostname(c), Client_User(c), Client_Conn(c), Client_StartTime(c), Client_Flags(c)); diff --git a/src/ngircd/sighandlers.c b/src/ngircd/sighandlers.c index 688a8f0..cb12a84 100644 --- a/src/ngircd/sighandlers.c +++ b/src/ngircd/sighandlers.c @@ -42,7 +42,8 @@ static int signalpipe[2]; static void Dump_State(void) { - Log(LOG_DEBUG, "--- Internal server state: ---"); + Log(LOG_DEBUG, "--- Internal server state: %s ---", + Client_ID(Client_ThisServer())); Log(LOG_DEBUG, "time()=%ld", time(NULL)); Conf_DebugDump(); Client_DebugDump();
ngircd-commits@lists.barton.de