diff libgaim/protocols/msn/oim.c @ 20390:d634f88e25d8

msn.tgz from SF Patch #1621854 from Ka-Hing Cheung "This tarball brings soc-2006-msnp13 up to head. In addition to that it also fixes a crash with sending offline messages. I wasn't able to generate a diff against that branch, svn seems to insist on diff'ing against HEAD after I run the merge command. After running `svn merge -r 16309:HEAD https://gaim.svn.sourceforge.net/svnroot/gaim/trunk` on the soc-2006-msnp13 you can replace the msn directory with the attached tarball. The fix for offline messaging is on msn.c:901: if (!session->oim) session->oim = msn_oim_new(session)" committer: Richard Laager <rlaager@wiktel.com>
author Ka-Hing Cheung <khc@hxbc.us>
date Sun, 15 Apr 2007 02:18:17 +0000
parents e354528c4163
children 0b0ecee55091
line wrap: on
line diff
--- a/libgaim/protocols/msn/oim.c	Sun Apr 15 02:10:37 2007 +0000
+++ b/libgaim/protocols/msn/oim.c	Sun Apr 15 02:18:17 2007 +0000
@@ -251,6 +251,8 @@
 {
 	MsnOimSendReq *request;
 
+	g_return_if_fail(oim != NULL);
+
 	request = msn_oim_new_send_req(membername,friendname,tomember,oim->send_seq,msg);
 	g_queue_push_tail(oim->send_queue,request);
 }