Changeset d93c0eb9 for protocols/msn/ns.c
- Timestamp:
- 2010-08-14T12:20:59Z (14 years ago)
- Branches:
- master
- Children:
- 4452e69
- Parents:
- 12767e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/ns.c
r12767e3 rd93c0eb9 577 577 md->handler->msglen = atoi( cmd[3] ); 578 578 } 579 else if( strcmp( cmd[0], "NOT" ) == 0 ) 580 { 581 /* Some kind of notification, not sure if it still exists 582 but we have to skip the payload or stuff breaks. */ 583 if( num_parts >= 3 ) 584 md->handler->msglen = atoi( cmd[2] ); 585 } 579 586 else if( isdigit( cmd[0][0] ) ) 580 587 { … … 686 693 } 687 694 } 695 else if( strcmp( cmd[0], "UBX" ) == 0 ) 696 { 697 struct xt_node *psm; 698 char *psm_text = NULL; 699 700 psm = xt_from_string( msg ); 701 if( psm && strcmp( psm->name, "Data" ) == 0 && 702 ( psm = xt_find_node( psm->children, "PSM" ) ) ) 703 psm_text = psm->text; 704 705 imcb_buddy_status_msg( ic, cmd[1], psm_text ); 706 xt_free_node( psm ); 707 } 688 708 689 709 return( 1 );
Note: See TracChangeset
for help on using the changeset viewer.