comparison libpurple/protocols/msn/session.c @ 23535:fd276936164f

Make errors when sending OIM's more visible. Also, msn_session_report_user doesn't modify msg, so it can be const. References #5379.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 20 Jun 2008 05:36:18 +0000
parents fd124c21ebb7
children ab70eae012f5
comparison
equal deleted inserted replaced
23534:20da64b2e104 23535:fd276936164f
190 /* put Message to User Conversation 190 /* put Message to User Conversation
191 * 191 *
192 * passport - the one want to talk to you 192 * passport - the one want to talk to you
193 */ 193 */
194 void 194 void
195 msn_session_report_user(MsnSession *session,const char *passport,char *msg,PurpleMessageFlags flags) 195 msn_session_report_user(MsnSession *session,const char *passport,const char *msg,PurpleMessageFlags flags)
196 { 196 {
197 PurpleConversation * conv; 197 PurpleConversation * conv;
198 198
199 if ((conv = msn_session_get_conv(session,passport)) != NULL){ 199 if ((conv = msn_session_get_conv(session,passport)) != NULL){
200 purple_conversation_write(conv, NULL, msg, flags, time(NULL)); 200 purple_conversation_write(conv, NULL, msg, flags, time(NULL));