Changeset fd03770 for nick.c


Ignore:
Timestamp:
2006-06-25T19:43:14Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
c9f0c79
Parents:
6ee9d2d (diff), 9b63df6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging from devel/Jelmer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nick.c

    r6ee9d2d rfd03770  
    163163        int i, j;
    164164       
    165         for( i = j = 0; nick[i] && i < MAX_NICK_LENGTH; i++ )
     165        for( i = j = 0; nick[i] && j < MAX_NICK_LENGTH; i++ )
    166166        {
    167167                if( strchr( nick_lc_chars, nick[i] ) ||
     
    172172                }
    173173        }
    174         while( j < MAX_NICK_LENGTH )
     174        while( j <= MAX_NICK_LENGTH )
    175175                nick[j++] = '\0';
    176176}
Note: See TracChangeset for help on using the changeset viewer.