diff src/protocols/msn/switchboard.c @ 10306:56cc5d49472b

[gaim-migrate @ 11492] " Well, I found a bug, and even though I had code to prevent that crash it seems it did not. So now here is in a different way, which by the way is more efficient." --Felipe Contreras (19:35:44) shx: LSchiere: there's a bugfix patch for msn in the tracker if it interest you ;) (19:35:59) LSchiere: the one i assigned to nosnilmot just a little bit ago? (19:36:24) shx: LSchiere: probably (19:38:25) LSchiere: i just remembered to day is release day (19:38:51) shx: yeap... so I tought it was important to commit it also, i rather like being able to compile committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 03 Dec 2004 00:57:21 +0000
parents f776e117c17b
children 2e01c503aa4f
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c	Fri Dec 03 00:10:19 2004 +0000
+++ b/src/protocols/msn/switchboard.c	Fri Dec 03 00:57:21 2004 +0000
@@ -529,7 +529,8 @@
 
 	msg = cmd->trans->data;
 
-	msg->ack_cb(msg->ack_data);
+	if (msg->ack_cb != NULL)
+		msg->ack_cb(msg->ack_data);
 
 	msn_message_unref(msg);
 }