| 200 |
|
++ServerStats.is_cl; |
| 201 |
|
ServerStats.is_cbs += client_p->localClient->send.bytes; |
| 202 |
|
ServerStats.is_cbr += client_p->localClient->recv.bytes; |
| 203 |
< |
ServerStats.is_cti += CurrentTime - client_p->firsttime; |
| 203 |
> |
ServerStats.is_cti += CurrentTime - client_p->localClient->firsttime; |
| 204 |
|
} |
| 205 |
|
else if (IsServer(client_p)) |
| 206 |
|
{ |
| 207 |
|
++ServerStats.is_sv; |
| 208 |
|
ServerStats.is_sbs += client_p->localClient->send.bytes; |
| 209 |
|
ServerStats.is_sbr += client_p->localClient->recv.bytes; |
| 210 |
< |
ServerStats.is_sti += CurrentTime - client_p->firsttime; |
| 210 |
> |
ServerStats.is_sti += CurrentTime - client_p->localClient->firsttime; |
| 211 |
|
|
| 212 |
|
/* XXX Does this even make any sense at all anymore? |
| 213 |
|
* scheduling a 'quick' reconnect could cause a pile of |
| 229 |
|
aconf = map_to_conf(conf); |
| 230 |
|
aclass = map_to_conf(aconf->class_ptr); |
| 231 |
|
aconf->hold = time(NULL); |
| 232 |
< |
aconf->hold += (aconf->hold - client_p->since > HANGONGOODLINK) ? |
| 232 |
> |
aconf->hold += (aconf->hold - client_p->localClient->since > HANGONGOODLINK) ? |
| 233 |
|
HANGONRETRYDELAY : ConFreq(aclass); |
| 234 |
|
} |
| 235 |
|
} |