src/protocols/msn/slp.c

changeset 14147
b6323eeaf37b
parent 14029
0e8ca0cb7054
equal deleted inserted replaced
14146:4413802cb7a9 14147:b6323eeaf37b
766 const char *who; 766 const char *who;
767 767
768 gc = slpcall->slplink->session->account->gc; 768 gc = slpcall->slplink->session->account->gc;
769 who = slpcall->slplink->remote_user; 769 who = slpcall->slplink->remote_user;
770 770
771 conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_ANY, who, gc->account); 771 if ((conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_ANY, who, gc->account))) {
772 772
773 /* FIXME: it would be better if we wrote the data as we received it 773 /* FIXME: it would be better if we wrote the data as we received it
774 instead of all at once, calling write multiple times and 774 instead of all at once, calling write multiple times and
775 close once at the very end 775 close once at the very end
776 */ 776 */
777 gaim_conv_custom_smiley_write(conv, slpcall->data_info, data, size); 777 gaim_conv_custom_smiley_write(conv, slpcall->data_info, data, size);
778 gaim_conv_custom_smiley_close(conv, slpcall->data_info ); 778 gaim_conv_custom_smiley_close(conv, slpcall->data_info);
779 }
779 #ifdef MSN_DEBUG_UD 780 #ifdef MSN_DEBUG_UD
780 gaim_debug_info("msn", "Got smiley: %s\n", slpcall->data_info); 781 gaim_debug_info("msn", "Got smiley: %s\n", slpcall->data_info);
781 #endif 782 #endif
782 } 783 }
783 784

mercurial