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

Comparing ircd-hybrid/trunk/src/s_user.c (file contents):
Revision 1794 by michael, Sun Mar 31 14:06:08 2013 UTC vs.
Revision 1795 by michael, Sun Mar 31 14:31:45 2013 UTC

# Line 658 | Line 658 | valid_hostname(const char *hostname)
658      if (!IsHostChar(*p))
659        return 0;
660  
661 <  return 1;
661 >  return p - hostname <= HOSTLEN;
662   }
663  
664   /* valid_username()

Diff Legend

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