Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2005-06-19 02:31:37 UTC

Modified files:
     ChangeLog ircd/s_debug.c

Log message:

"/stats z" formatting tweaks.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.647 ircu2.10/ChangeLog:1.648
--- ircu2.10/ChangeLog:1.647    Sat Jun 18 18:37:59 2005
+++ ircu2.10/ChangeLog  Sat Jun 18 19:31:27 2005
@@ -1,3 +1,8 @@
+2005-06-18  Michael Poole <[EMAIL PROTECTED]>
+
+       * ircd/s_debug.c (count_memory): Consolidate several lines; make
+       initial letter capitalization consistent.
+
 2005-06-19  Andrew Miller  <[EMAIL PROTECTED]>
 
        * ircd/s_stats.c: Remove the "debug only" label on memusage stats,
Index: ircu2.10/ircd/s_debug.c
diff -u ircu2.10/ircd/s_debug.c:1.40 ircu2.10/ircd/s_debug.c:1.41
--- ircu2.10/ircd/s_debug.c:1.40        Mon Jun 13 21:47:00 2005
+++ ircu2.10/ircd/s_debug.c     Sat Jun 18 19:31:27 2005
@@ -19,7 +19,7 @@
  */
 /** @file
  * @brief Debug support for the ircd.
- * @version $Id: s_debug.c,v 1.40 2005/06/14 04:47:00 entrope Exp $
+ * @version $Id: s_debug.c,v 1.41 2005/06/19 02:31:27 entrope Exp $
  */
 #include "config.h"
 
@@ -320,32 +320,27 @@
   send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG,
             ":User channels %d(%zu) Aways %d(%zu)", memberships,
             memberships * sizeof(struct Membership), aw, awm);
-  send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG, ":Attached confs %d(%zu)",
-            lcc, lcc * sizeof(struct SLink));
 
   totcl = cm + cnm + us * sizeof(struct User) + memberships * sizeof(struct 
Membership) + awm;
   totcl += lcc * sizeof(struct SLink) + usi * sizeof(struct SLink);
 
-  send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG, ":Conflines %d(%zu)", co,
-            com);
-
-  send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG, ":Classes %d(%zu)", cl,
-            cl * sizeof(struct ConnectionClass));
+  send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG, ":Conflines %d(%zu) Attached 
%d(%zu) Classes %d(%zu)",
+             co, com, lcc, lcc * sizeof(struct SLink),
+             cl, cl * sizeof(struct ConnectionClass));
 
   send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG,
             ":Channels %d(%zu) Bans %d(%zu)", ch, chm, chb, chbm);
   send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG,
-            ":Channel members %d(%zu) invite %d(%zu)", memberships,
+            ":Channel Members %d(%zu) Invites %d(%zu)", memberships,
             memberships * sizeof(struct Membership), chi,
             chi * sizeof(struct SLink));
 
   totch = chm + chbm + chi * sizeof(struct SLink);
 
   send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG,
-            ":Whowas users %d(%zu) away %d(%zu)", wwu,
-            wwu * sizeof(struct User), wwa, wwam);
-  send_reply(cptr, SND_EXPLICIT | RPL_STATSDEBUG, ":Whowas array %d(%zu)",
-            feature_int(FEAT_NICKNAMEHISTORYLENGTH), wwm);
+            ":Whowas Users %d(%zu) Away %d(%zu) Array %d(%zu)",
+             wwu, wwu * sizeof(struct User), wwa, wwam,
+             feature_int(FEAT_NICKNAMEHISTORYLENGTH), wwm);
 
   totww = wwu * sizeof(struct User) + wwam + wwm;
 
@@ -398,4 +393,3 @@
             totww, totch, totcl, com, dbufs_allocated, msg_allocated,
             msgbuf_allocated);
 }
-
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to