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

Comparing ircd-hybrid/branches/8.2.x/src/user.c (file contents):
Revision 3568 by michael, Fri May 16 14:53:04 2014 UTC vs.
Revision 3570 by michael, Fri May 16 14:59:32 2014 UTC

# Line 1050 | Line 1050 | init_uid(void)
1050   *                note this is a recursive function
1051   */
1052   static void
1053 < add_one_to_uid(int i)
1053 > add_one_to_uid(unsigned int i)
1054   {
1055    if (i != IRC_MAXSID)  /* Not reached server SID portion yet? */
1056    {
# Line 1059 | Line 1059 | add_one_to_uid(int i)
1059      else if (new_uid[i] == '9')
1060      {
1061        new_uid[i] = 'A';
1062 <      add_one_to_uid(i-1);
1062 >      add_one_to_uid(i - 1);
1063      }
1064      else
1065        ++new_uid[i];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines