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

Comparing ircd-hybrid-7.2/src/s_log.c (file contents):
Revision 581 by michael, Tue May 2 07:50:39 2006 UTC vs.
Revision 582 by michael, Tue May 2 20:47:11 2006 UTC

# Line 207 | Line 207 | log_user_exit(struct Client *source_p)
207    if (IsClient(source_p))
208    {
209      ilog(L_INFO, "%s (%3u:%02u:%02u): %s!%s@%s %llu/%llu",
210 <         myctime(source_p->firsttime), on_for / 3600,
211 <         (on_for % 3600)/60, on_for % 60,
210 >         myctime(source_p->firsttime), (unsigned int)(on_for / 3600),
211 >         (unsigned int)((on_for % 3600)/60), (unsigned int)(on_for % 60),
212           source_p->name, source_p->username, source_p->host,
213           source_p->localClient->send.bytes>>10,
214           source_p->localClient->recv.bytes>>10);
# Line 240 | Line 240 | log_user_exit(struct Client *source_p)
240          size_t nbytes = ircsprintf(linebuf,
241                     "%s (%3u:%02u:%02u): %s!%s@%s %llu/%llu\n",
242                     myctime(source_p->firsttime),
243 <                   on_for / 3600,
244 <                   (on_for % 3600)/60,
245 <                   on_for % 60,
243 >                   (unsigned int)(on_for / 3600),
244 >                   (unsigned int)((on_for % 3600)/60),
245 >                   (unsigned int)(on_for % 60),
246                     source_p->name, source_p->username, source_p->host,
247                     source_p->localClient->send.bytes>>10,
248                     source_p->localClient->recv.bytes>>10);

Diff Legend

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