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

Comparing ircd-hybrid-7.2/src/s_serv.c (file contents):
Revision 1012 by michael, Fri Sep 18 10:14:09 2009 UTC vs.
Revision 1013 by michael, Sun Oct 18 14:26:49 2009 UTC

# Line 491 | Line 491 | try_connections(void *unused)
491    DLINK_FOREACH(ptr, server_items.head)
492    {
493      conf = ptr->data;
494 <    aconf = (struct AccessItem *)map_to_conf(conf);
494 >    aconf = map_to_conf(conf);
495  
496      /* Also when already connecting! (update holdtimes) --SRB
497       */
498 <    if (!(aconf->status & CONF_SERVER) || aconf->port <= 0 ||
498 >    if (!(aconf->status & CONF_SERVER) || !aconf->port ||
499          !(IsConfAllowAutoConn(aconf)))
500        continue;
501  
502 <    cltmp = (struct ClassItem *)map_to_conf(aconf->class_ptr);
502 >    cltmp = map_to_conf(aconf->class_ptr);
503  
504      /* Skip this entry if the use of it is still on hold until
505       * future. Otherwise handle this entry (and set it on hold
# Line 583 | Line 583 | check_server(const char *name, struct Cl
583    DLINK_FOREACH(ptr, server_items.head)
584    {
585      conf = ptr->data;
586 <    aconf = (struct AccessItem *)map_to_conf(conf);
586 >    aconf = map_to_conf(conf);
587  
588      if (!match(name, conf->name))
589        continue;

Diff Legend

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