ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/ircd.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/ircd.c (file contents):
Revision 895 by michael, Wed Oct 31 18:09:24 2007 UTC vs.
Revision 896 by michael, Sat Nov 3 08:54:09 2007 UTC

# Line 53 | Line 53
53   #include "s_log.h"
54   #include "s_misc.h"
55   #include "s_serv.h"      /* try_connections */
56 #include "s_stats.h"
56   #include "send.h"
57   #include "whowas.h"
58   #include "modules.h"
# Line 81 | Line 80 | struct admin_info AdminInfo = { NULL, NU
80   struct Counter Count = { 0, 0, 0, 0, 0, 0, 0, 0 };
81   struct ServerState_t server_state = { 0 };
82   struct logging_entry ConfigLoggingEntry = { 1, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} };
83 + struct ServerStatistics ServerStats;
84   struct timeval SystemTime;
85   struct Client me;             /* That's me */
86   struct LocalUser meLocalUser; /* That's also part of me */
# Line 282 | Line 282 | io_loop(void)
282        {
283          struct Client *client_p = ptr->data;
284          assert(client_p->localClient->list_task);
285 <        safe_list_channels(client_p, client_p->localClient->list_task, 0, 0);
285 >        safe_list_channels(client_p, client_p->localClient->list_task, 0);
286        }
287      }
288  
# Line 569 | Line 569 | main(int argc, char *argv[])
569                                                     of Client list */
570  
571    memset(&ServerInfo, 0, sizeof(ServerInfo));
572 +  memset(&ServerStats, 0, sizeof(ServerStats));
573  
574    /* Initialise the channel capability usage counts... */
575    init_chcap_usage_counts();
# Line 641 | Line 642 | main(int argc, char *argv[])
642    init_class();
643    init_whowas();
644    watch_init();
644  init_stats();
645    read_conf_files(1);   /* cold start init conf files */
646    me.id[0] = '\0';
647    init_uid();

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)