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

Comparing ircd-hybrid/trunk/src/hostmask.c (file contents):
Revision 1786 by michael, Mon Jan 28 19:30:26 2013 UTC vs.
Revision 2331 by michael, Sun Jun 23 13:52:17 2013 UTC

# Line 413 | Line 413 | hash_text(const char *start)
413    uint32_t h = 0;
414  
415    for (; *p; ++p)
416 <    h = (h << 4) - (h + (unsigned char)ToLower(*p));
416 >    h = (h << 4) - (h + ToLower(*p));
417  
418    return h & (ATABLE_SIZE - 1);
419   }

Diff Legend

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