Changeset e1720ce
- Timestamp:
- 2008-12-14T01:38:59Z (16 years ago)
- Branches:
- master
- Children:
- 939370c
- Parents:
- 6d5eb72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r6d5eb72 re1720ce 407 407 } 408 408 409 if( lines[i] ) 410 { 411 if( ( cmd = irc_parse_line( lines[i] ) ) == NULL ) 412 continue; 409 if( lines[i] && ( cmd = irc_parse_line( lines[i] ) ) ) 410 { 413 411 irc_exec( irc, cmd ); 414 412 g_free( cmd ); … … 485 483 if( line[0] == ':' ) 486 484 { 487 for( i = 0; line[i] != ' '; i ++ );485 for( i = 0; line[i] && line[i] != ' '; i ++ ); 488 486 line = line + i; 489 487 }
Note: See TracChangeset
for help on using the changeset viewer.