Changeset 764c7d1 for protocols/nogaim.c
- Timestamp:
- 2008-02-03T21:30:03Z (17 years ago)
- Branches:
- master
- Children:
- 3c80a9d
- Parents:
- b5c8a34
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
rb5c8a34 r764c7d1 630 630 char *wrapped; 631 631 user_t *u; 632 632 633 /* pass the message through OTR */ 634 msg = otr_handle_message(ic, handle, msg); 635 if(!msg) { 636 /* this was an internal OTR protocol message */ 637 return; 638 } 639 633 640 u = user_findhandle( ic, handle ); 634 635 641 if( !u ) 636 642 { … … 642 648 imcb_log( ic, "Ignoring message from unknown handle %s", handle ); 643 649 650 g_free(msg); 644 651 return; 645 652 } … … 674 681 irc_msgfrom( irc, u->nick, wrapped ); 675 682 g_free( wrapped ); 683 g_free( msg ); 676 684 } 677 685 … … 991 999 msg = buf; 992 1000 } 993 994 st = ic->acc->prpl->buddy_msg( ic, handle, msg, flags ); 995 g_free( buf ); 996 1001 1002 /* if compiled without otr support, this just calls the prpl buddy_msg */ 1003 st = otr_send_message(ic, handle, msg, flags); 1004 1005 g_free(buf); 997 1006 return st; 998 1007 }
Note: See TracChangeset
for help on using the changeset viewer.