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 4094 by michael, Sun Jun 29 11:48:50 2014 UTC vs.
Revision 4140 by michael, Wed Jul 2 14:44:45 2014 UTC

# Line 677 | Line 677 | exit_one_client(struct Client *source_p,
677    if (IsUserHostIp(source_p))
678      delete_user_host(source_p->username, source_p->host, !MyConnect(source_p));
679  
680 <  /* remove from global client list
681 <   * NOTE: source_p->node.next cannot be NULL if the client is added
682 <   *       to global_client_list (there is always &me at its end)
683 <   */
684 <  if (source_p->node.next) /* XXX: not needed? */
685 <    dlinkDelete(&source_p->node, &global_client_list);
680 >  assert(source_p->node.next);
681 >  dlinkDelete(&source_p->node, &global_client_list);
682  
683    update_client_exit_stats(source_p);
684  

Diff Legend

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