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

Comparing ircd-hybrid-7.2/src/hash.c (file contents):
Revision 34 by lusky, Sun Oct 2 21:05:51 2005 UTC vs.
Revision 880 by michael, Thu Oct 25 20:25:26 2007 UTC

# Line 397 | Line 397 | hash_find_id(const char *name)
397  
398    if ((client_p = idTable[hashv]) != NULL)
399    {
400 <    if (irccmp(name, client_p->id))
400 >    if (strcmp(name, client_p->id))
401      {
402        struct Client *prev;
403  
404        while (prev = client_p, (client_p = client_p->idhnext) != NULL)
405        {
406 <        if (!irccmp(name, client_p->id))
406 >        if (!strcmp(name, client_p->id))
407          {
408            prev->idhnext = client_p->idhnext;
409            client_p->idhnext = idTable[hashv];
# Line 948 | Line 948 | safe_list_channels(struct Client *source
948        if (exceeding_sendq(source_p->from))
949        {
950          list_task->hash_index = i;
951 <        return; /* still more to do */
951 >        return;    /* still more to do */
952        }
953  
954        for (chptr = channelTable[i]; chptr; chptr = chptr->hnextch)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines