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

Comparing:
ircd-hybrid-7.3/src/s_bsd.c (file contents), Revision 1123 by michael, Sun Feb 6 21:57:50 2011 UTC vs.
ircd-hybrid-8/src/s_bsd.c (file contents), Revision 1156 by michael, Tue Aug 9 20:29:20 2011 UTC

# Line 195 | Line 195 | close_connection(struct Client *client_p
195      send_queued_write(client_p);
196    }
197  
198 <  if (IsServer(client_p))
198 >  if (IsClient(client_p))
199 >  {
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;
204 >  }
205 >  else if (IsServer(client_p))
206    {
207      ++ServerStats.is_sv;
208      ServerStats.is_sbs += client_p->localClient->send.bytes;
# Line 226 | Line 233 | close_connection(struct Client *client_p
233          HANGONRETRYDELAY : ConFreq(aclass);
234      }
235    }
229  else if (IsClient(client_p))
230  {
231    ++ServerStats.is_cl;
232    ServerStats.is_cbs += client_p->localClient->send.bytes;
233    ServerStats.is_cbr += client_p->localClient->recv.bytes;
234    ServerStats.is_cti += CurrentTime - client_p->firsttime;
235  }
236    else
237      ++ServerStats.is_ni;
238  

Diff Legend

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