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.3/src/ircd.c (file contents), Revision 1124 by michael, Mon Feb 7 11:45:27 2011 UTC vs.
ircd-hybrid-8/src/ircd.c (file contents), Revision 1176 by michael, Sun Aug 14 11:24:24 2011 UTC

# Line 76 | Line 76 | struct config_file_entry ConfigFileEntry
76   struct server_info ServerInfo;
77   /* admin info set from ircd.conf */
78   struct admin_info AdminInfo = { NULL, NULL, NULL };
79 < struct Counter Count = { 0, 0, 0, 0, 0, 0, 0, 0 };
79 > struct Counter Count = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
80   struct ServerState_t server_state = { 0 };
81   struct logging_entry ConfigLoggingEntry = { 1, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} };
82   struct ServerStatistics ServerStats;
# Line 297 | Line 297 | initialize_global_set_options(void)
297    }
298  
299    GlobalSetOptions.ident_timeout = IDENT_TIMEOUT;
300  GlobalSetOptions.idletime = ConfigFileEntry.idletime;
300    /* End of global set options */
301   }
302  
# Line 501 | Line 500 | main(int argc, char *argv[])
500    /* It ain't random, but it ought to be a little harder to guess */
501    init_genrand(SystemTime.tv_sec ^ (SystemTime.tv_usec | (getpid() << 20)));
502  
504  memset(&me, 0, sizeof(me));
505  memset(&meLocalUser, 0, sizeof(meLocalUser));
503    me.localClient = &meLocalUser;
504    dlinkAdd(&me, &me.node, &global_client_list); /* Pointer to beginning
505                                                     of Client list */
509
510  memset(&ServerInfo, 0, sizeof(ServerInfo));
511  memset(&ServerStats, 0, sizeof(ServerStats));
512
506    /* Initialise the channel capability usage counts... */
507    init_chcap_usage_counts();
508  
# Line 610 | Line 603 | main(int argc, char *argv[])
603  
604    strlcpy(me.info, ServerInfo.description, sizeof(me.info));
605  
606 <  me.from    = &me;
607 <  me.servptr = &me;
606 >  me.from     = &me;
607 >  me.servptr  = &me;
608 >  me.lasttime = me.since = me.firsttime = CurrentTime;
609  
610    SetMe(&me);
611    make_server(&me);
612  
619  me.lasttime = me.since = me.firsttime = CurrentTime;
620
613    hash_add_id(&me);
614    hash_add_client(&me);
615    

Diff Legend

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