ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.3.x/modules/m_stats.c
(Generate patch)

Comparing ircd-hybrid/branches/8.3.x/modules/m_stats.c (file contents):
Revision 6782 by michael, Thu Nov 12 19:37:24 2015 UTC vs.
Revision 6783 by michael, Sun Nov 15 18:50:00 2015 UTC

# Line 425 | Line 425 | stats_memory(struct Client *source_p, in
425    watch_count_memory(&watch_list_headers, &watch_list_memory);
426  
427    sendto_one_numeric(source_p, &me, RPL_STATSDEBUG | SND_EXPLICIT,
428 <                     "z :WATCH headers %u(%llu) entries %d(%u)",
428 >                     "z :WATCH headers %u(%zu) entries %d(%u)",
429                       watch_list_headers,
430                       watch_list_memory, watch_list_entries,
431                       watch_list_entries * sizeof(dlink_node) * 2);
# Line 1088 | Line 1088 | stats_tstats(struct Client *source_p, in
1088                       (unsigned int)sp->is_cl,
1089                       (unsigned int)sp->is_sv);
1090    sendto_one_numeric(source_p, &me, RPL_STATSDEBUG | SND_EXPLICIT,
1091 <                     "t :bytes sent %llu %llu",
1091 >                     "t :bytes sent %ju %ju",
1092                       sp->is_cbs, sp->is_sbs);
1093    sendto_one_numeric(source_p, &me, RPL_STATSDEBUG | SND_EXPLICIT,
1094 <                     "t :bytes recv %llu %llu",
1094 >                     "t :bytes recv %ju %ju",
1095                       sp->is_cbr, sp->is_sbr);
1096    sendto_one_numeric(source_p, &me, RPL_STATSDEBUG | SND_EXPLICIT,
1097                       "t :time connected %u %u",
# Line 1177 | Line 1177 | stats_class(struct Client *source_p, int
1177   static void
1178   stats_servlinks(struct Client *source_p, int parc, char *parv[])
1179   {
1180 <  uint64_t sendB = 0, recvB = 0;
1180 >  uintmax_t sendB = 0, recvB = 0;
1181    time_t uptime = 0;
1182    dlink_node *node = NULL;
1183  
# Line 1198 | Line 1198 | stats_servlinks(struct Client *source_p,
1198      sendB += target_p->connection->send.bytes;
1199      recvB += target_p->connection->recv.bytes;
1200  
1201 <    /* ":%s 211 %s %s %u %u %llu %u %llu :%u %u %s" */
1201 >    /* ":%s 211 %s %s %u %u %ju %u %ju :%u %u %s" */
1202      sendto_one_numeric(source_p, &me, RPL_STATSLINKINFO,
1203                 get_client_name(target_p, HasUMode(source_p, UMODE_ADMIN) ? SHOW_IP : MASK_IP),
1204                 dbuf_length(&target_p->connection->buf_sendq),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines