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

Comparing ircd-hybrid-8/src/client.c (file contents):
Revision 1176 by michael, Sun Aug 14 11:24:24 2011 UTC vs.
Revision 1185 by michael, Wed Aug 17 23:45:37 2011 UTC

# Line 931 | Line 931 | exit_client(struct Client *source_p, str
931      /* As soon as a client is known to be a server of some sort
932       * it has to be put on the serv_list, or SJOIN's to this new server
933       * from the connect burst will not be seen.
934 +     * XXX - TBV.  This is not true. The only place where we put a server on
935 +     * serv_list is in server_estab right now after registration process.
936 +     * And only after this, a burst is sent to the remote server, i.e. we never
937 +     * send a burst to STAT_CONNECTING, or STAT_HANDSHAKE. This will need
938 +     * more investigation later on, but for now, it's not a problem after all.
939       */
940      if (IsServer(source_p) || IsConnecting(source_p) ||
941          IsHandshake(source_p))
942      {
943 <      if ((m = dlinkFindDelete(&serv_list, source_p)) != NULL)
943 >      if (dlinkFind(&serv_list, source_p))
944        {
945 <        free_dlink_node(m);
945 >        dlinkDelete(&source_p->localClient->lclient_node, &serv_list);
946          unset_chcap_usage_counts(source_p);
947        }
948  

Diff Legend

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