changeset 32028:8f3cb00ad798

Get the slplink from the slpcall as needed.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 09 May 2011 07:08:10 +0000
parents 182d7b49236c
children 9a23c70bdb7a
files libpurple/protocols/msn/slpmsg.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpmsg.c	Mon May 09 07:02:44 2011 +0000
+++ b/libpurple/protocols/msn/slpmsg.c	Mon May 09 07:08:10 2011 +0000
@@ -215,7 +215,7 @@
 {
 	MsnSlpMessage *slpmsg;
 
-	slpmsg = msn_slpmsg_new(NULL, slpcall);
+	slpmsg = msn_slpmsg_new(slpcall->slplink, slpcall);
 	msn_p2p_info_set_flags(slpmsg->p2p_info, P2P_MSN_OBJ_DATA);
 	slpmsg->info = "SLP DATA";
 
@@ -228,7 +228,7 @@
 {
 	MsnSlpMessage *slpmsg;
 
-	slpmsg = msn_slpmsg_new(NULL, slpcall);
+	slpmsg = msn_slpmsg_new(slpcall->slplink, slpcall);
 
 	msn_p2p_info_set_session_id(slpmsg->p2p_info, slpcall->session_id);
 	msn_slpmsg_set_body(slpmsg, NULL, 4);
@@ -242,7 +242,7 @@
 {
 	MsnSlpMessage *slpmsg;
 
-	slpmsg = msn_slpmsg_new(NULL, slpcall);
+	slpmsg = msn_slpmsg_new(slpcall->slplink, slpcall);
 
 	msn_p2p_info_set_flags(slpmsg->p2p_info, P2P_FILE_DATA);
 	slpmsg->info = "SLP FILE";