commit cd954ee7e902743cd679b418edf1630225c512c4 from: Alexander Barton date: Mon Sep 13 22:04:04 2010 UTC Reformat "server state" debug messages a little bit commit - 355828e64f6fa07eb96bc6b27eef964b529d8778 commit + cd954ee7e902743cd679b418edf1630225c512c4 blob - d53dc969cd47269c65f73314b4b8b55d95de66d2 blob + 033478356ea2e9ddadc963fc2493476ad0b86810 --- src/ngircd/client.c +++ 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)); blob - 688a8f02dcf1871605ca47442f17b1ab93bbeb66 blob + cb12a84ddeee42dee71d88d9961a205ff44e7ca2 --- src/ngircd/sighandlers.c +++ 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();