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

Comparing ircd-hybrid/trunk/src/client.c (file contents):
Revision 7330 by michael, Fri Feb 19 17:50:13 2016 UTC vs.
Revision 7337 by michael, Sat Feb 20 18:11:30 2016 UTC

# Line 720 | Line 720 | exit_client(struct Client *source_p, con
720  
721      if (IsClient(source_p))
722      {
723      uintmax_t on_for = CurrentTime - source_p->connection->firsttime;
724
723        assert(Count.local > 0);
724  
725        --Count.local;
# Line 743 | Line 741 | exit_client(struct Client *source_p, con
741                             source_p->name, source_p->username, source_p->host,
742                             source_p->sockhost, comment);
743  
744 <      ilog(LOG_TYPE_USER, "%s (%3u:%02u:%02u): %s!%s@%s %ju/%ju",
745 <           date_ctime(source_p->connection->firsttime), (unsigned int)(on_for / 3600),
746 <           (unsigned int)((on_for % 3600)/60), (unsigned int)(on_for % 60),
744 >      ilog(LOG_TYPE_USER, "%s (%ju): %s!%s@%s %s %s %ju/%ju :%s",
745 >           date_ctime(source_p->connection->firsttime),
746 >           CurrentTime - source_p->connection->firsttime,
747             source_p->name, source_p->username, source_p->host,
748 <           source_p->connection->send.bytes>>10,
749 <           source_p->connection->recv.bytes>>10);
748 >           source_p->sockhost, source_p->account,
749 >           source_p->connection->send.bytes >> 10,
750 >           source_p->connection->recv.bytes >> 10, source_p->info);
751      }
752      else if (IsServer(source_p))
753      {

Diff Legend

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