changeset 31136:24f371e16a51

We just allocated slpmsg, so of course slpmsg->slpcall will be NULL here
author Mark Doliner <mark@kingant.net>
date Mon, 08 Feb 2010 08:35:38 +0000
parents f3d2a46a5ea8
children a786d893df2b
files libpurple/protocols/msn/slplink.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c	Mon Feb 08 08:26:12 2010 +0000
+++ b/libpurple/protocols/msn/slplink.c	Mon Feb 08 08:35:38 2010 +0000
@@ -528,9 +528,7 @@
 
 		if (slpmsg->session_id)
 		{
-			if (slpmsg->slpcall == NULL)
-				slpmsg->slpcall = msn_slplink_find_slp_call_with_session_id(slplink, slpmsg->session_id);
-
+			slpmsg->slpcall = msn_slplink_find_slp_call_with_session_id(slplink, slpmsg->session_id);
 			if (slpmsg->slpcall != NULL)
 			{
 				if (slpmsg->flags == 0x20 ||