| 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 |
| 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; |