- Timestamp:
- 2006-06-16T12:07:51Z (17 years ago)
- Branches:
- master
- Children:
- 125b35d
- Parents:
- c2fa827
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nick.c
rc2fa827 r1fc2958 163 163 int i, j; 164 164 165 for( i = j = 0; nick[i] && i< MAX_NICK_LENGTH; i++ )165 for( i = j = 0; nick[i] && j < MAX_NICK_LENGTH; i++ ) 166 166 { 167 167 if( strchr( nick_lc_chars, nick[i] ) || … … 172 172 } 173 173 } 174 while( j < MAX_NICK_LENGTH )174 while( j <= MAX_NICK_LENGTH ) 175 175 nick[j++] = '\0'; 176 176 }
Note: See TracChangeset
for help on using the changeset viewer.