/[svn]/ircd-hybrid-7.2/src/s_log.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/s_log.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 581 by michael, Tue May 2 07:50:39 2006 UTC revision 582 by michael, Tue May 2 20:47:11 2006 UTC
# Line 207  log_user_exit(struct Client *source_p) Line 207  log_user_exit(struct Client *source_p)
207    if (IsClient(source_p))    if (IsClient(source_p))
208    {    {
209      ilog(L_INFO, "%s (%3u:%02u:%02u): %s!%s@%s %llu/%llu",      ilog(L_INFO, "%s (%3u:%02u:%02u): %s!%s@%s %llu/%llu",
210           myctime(source_p->firsttime), on_for / 3600,           myctime(source_p->firsttime), (unsigned int)(on_for / 3600),
211           (on_for % 3600)/60, on_for % 60,           (unsigned int)((on_for % 3600)/60), (unsigned int)(on_for % 60),
212           source_p->name, source_p->username, source_p->host,           source_p->name, source_p->username, source_p->host,
213           source_p->localClient->send.bytes>>10,           source_p->localClient->send.bytes>>10,
214           source_p->localClient->recv.bytes>>10);           source_p->localClient->recv.bytes>>10);
# Line 240  log_user_exit(struct Client *source_p) Line 240  log_user_exit(struct Client *source_p)
240          size_t nbytes = ircsprintf(linebuf,          size_t nbytes = ircsprintf(linebuf,
241                     "%s (%3u:%02u:%02u): %s!%s@%s %llu/%llu\n",                     "%s (%3u:%02u:%02u): %s!%s@%s %llu/%llu\n",
242                     myctime(source_p->firsttime),                     myctime(source_p->firsttime),
243                     on_for / 3600,                     (unsigned int)(on_for / 3600),
244                     (on_for % 3600)/60,                     (unsigned int)((on_for % 3600)/60),
245                     on_for % 60,                     (unsigned int)(on_for % 60),
246                     source_p->name, source_p->username, source_p->host,                     source_p->name, source_p->username, source_p->host,
247                     source_p->localClient->send.bytes>>10,                     source_p->localClient->send.bytes>>10,
248                     source_p->localClient->recv.bytes>>10);                     source_p->localClient->recv.bytes>>10);

Legend:
Removed from v.581  
changed lines
  Added in v.582

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28