ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/branches/newio/src/s_bsd.c
(Generate patch)

Comparing ircd-hybrid-8/src/s_bsd.c (file contents):
Revision 1156 by michael, Tue Aug 9 20:29:20 2011 UTC vs.
Revision 1241 by michael, Thu Sep 29 20:26:09 2011 UTC

# Line 200 | Line 200 | close_connection(struct Client *client_p
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
# Line 229 | Line 229 | close_connection(struct Client *client_p
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    }

Diff Legend

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