]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Reformat "server state" debug messages a little bit
authorAlexander Barton <alex@barton.de>
Fri, 10 Sep 2010 19:10:17 +0000 (21:10 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 13 Sep 2010 22:04:04 +0000 (00:04 +0200)
src/ngircd/client.c
src/ngircd/sighandlers.c

index d53dc969cd47269c65f73314b4b8b55d95de66d2..033478356ea2e9ddadc963fc2493476ad0b86810 100644 (file)
@@ -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));
index 688a8f02dcf1871605ca47442f17b1ab93bbeb66..cb12a84ddeee42dee71d88d9961a205ff44e7ca2 100644 (file)
@@ -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();