Changeset b46769d for protocols/msn/sb.c
- Timestamp:
- 2010-08-12T22:44:56Z (14 years ago)
- Branches:
- master
- Children:
- 91d6e91
- Parents:
- be7a180
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/sb.c
rbe7a180 rb46769d 414 414 else if( strcmp( cmd[0], "USR" ) == 0 ) 415 415 { 416 if( num_parts !=5 )416 if( num_parts < 5 ) 417 417 { 418 418 msn_sb_destroy( sb ); … … 440 440 int num, tot; 441 441 442 if( num_parts !=6 )442 if( num_parts < 6 ) 443 443 { 444 444 msn_sb_destroy( sb ); … … 477 477 else if( strcmp( cmd[0], "ANS" ) == 0 ) 478 478 { 479 if( num_parts !=3 )479 if( num_parts < 3 ) 480 480 { 481 481 msn_sb_destroy( sb ); … … 496 496 else if( strcmp( cmd[0], "CAL" ) == 0 ) 497 497 { 498 if( num_parts !=4 || !isdigit( cmd[3][0] ) )498 if( num_parts < 4 || !isdigit( cmd[3][0] ) ) 499 499 { 500 500 msn_sb_destroy( sb ); … … 506 506 else if( strcmp( cmd[0], "JOI" ) == 0 ) 507 507 { 508 if( num_parts !=3 )508 if( num_parts < 3 ) 509 509 { 510 510 msn_sb_destroy( sb ); … … 567 567 else if( strcmp( cmd[0], "MSG" ) == 0 ) 568 568 { 569 if( num_parts !=4 )569 if( num_parts < 4 ) 570 570 { 571 571 msn_sb_destroy( sb );
Note: See TracChangeset
for help on using the changeset viewer.