pidgin: 0ffc15c1: Get the slplink from the slpcall as need...

qulogic at pidgin.im qulogic at pidgin.im
Mon May 9 04:21:24 EDT 2011


----------------------------------------------------------------------
Revision: 0ffc15c1c059d81c20fbe7cc61c100a52419aa1f
Parent:   362c689cdb174bc399327c44f54e8fb7c0fddb5e
Author:   qulogic at pidgin.im
Date:     05/09/11 03:08:10
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/0ffc15c1c059d81c20fbe7cc61c100a52419aa1f

Changelog: 

Get the slplink from the slpcall as needed.

Changes against parent 362c689cdb174bc399327c44f54e8fb7c0fddb5e

  patched  libpurple/protocols/msn/slpmsg.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slpmsg.c	949b44082dd91ee25ecf7d0579b48cf4f66acd1c
+++ libpurple/protocols/msn/slpmsg.c	6e31cb855dbfec7821c3d97641cceb8dbd2106f2
@@ -215,7 +215,7 @@ MsnSlpMessage *msn_slpmsg_obj_new(MsnSlp
 {
 	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 *msn_slpmsg_dataprep_new(M
 {
 	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 *msn_slpmsg_file_new(MsnSl
 {
 	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";


More information about the Commits mailing list