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 1012 by michael, Fri Sep 18 10:14:09 2009 UTC vs.
Revision 1013 by michael, Sun Oct 18 14:26:49 2009 UTC

# Line 902 | Line 902 | list_one_channel(struct Client *source_p
902   {
903    if (SecretChannel(chptr) && !IsMember(source_p, chptr))
904      return;
905 <  if ((unsigned int)dlink_list_length(&chptr->members) < list_task->users_min ||
906 <      (unsigned int)dlink_list_length(&chptr->members) > list_task->users_max ||
905 >  if (dlink_list_length(&chptr->members) < list_task->users_min ||
906 >      dlink_list_length(&chptr->members) > list_task->users_max ||
907        (chptr->channelts != 0 &&
908         ((unsigned int)chptr->channelts < list_task->created_min ||
909          (unsigned int)chptr->channelts > list_task->created_max)) ||
# Line 941 | Line 941 | safe_list_channels(struct Client *source
941  
942    if (!only_unmasked_channels)
943    {
944 <    int i;
944 >    unsigned int i;
945  
946      for (i = list_task->hash_index; i < HASHSIZE; ++i)
947      {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines