pidgin: ba1c25d3: Add the slplink as a parameter when crea...
qulogic at pidgin.im
qulogic at pidgin.im
Mon May 9 04:21:27 EDT 2011
----------------------------------------------------------------------
Revision: ba1c25d309ed7a9bfe47f529d0f285a34849368d
Parent: 0e962c7ad968d7fc4f22c34754a643fd377e502f
Author: qulogic at pidgin.im
Date: 05/09/11 02:56:18
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/ba1c25d309ed7a9bfe47f529d0f285a34849368d
Changelog:
Add the slplink as a parameter when creating a slpmsg ack.
Changes against parent 0e962c7ad968d7fc4f22c34754a643fd377e502f
patched libpurple/protocols/msn/slplink.c
patched libpurple/protocols/msn/slpmsg.c
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slplink.c 34836b33c627b4f6db320e2ad6fe7b501b56b6bd
+++ libpurple/protocols/msn/slplink.c dc33220576c84bfe6327c7d7a36ff326c4d43bcc
@@ -410,8 +410,7 @@ msn_slplink_create_ack(MsnSlpLink *slpli
{
MsnSlpMessage *slpmsg;
- slpmsg = msn_slpmsg_ack_new(info);
- msn_slpmsg_set_slplink(slpmsg, slplink);
+ slpmsg = msn_slpmsg_ack_new(slplink, info);
return slpmsg;
}
============================================================
--- libpurple/protocols/msn/slpmsg.c 29bc2c6f5cd5f6a60f88da22cc9d75ba2528ad23
+++ libpurple/protocols/msn/slpmsg.c 949b44082dd91ee25ecf7d0579b48cf4f66acd1c
@@ -196,12 +196,12 @@ msn_slpmsg_sip_new(MsnSlpCall *slpcall,
return slpmsg;
}
-MsnSlpMessage *msn_slpmsg_ack_new(MsnP2PInfo *ack_info)
+MsnSlpMessage *msn_slpmsg_ack_new(MsnSlpLink *slplink, MsnP2PInfo *ack_info)
{
MsnSlpMessage *slpmsg;
MsnP2PInfo *new_info;
- slpmsg = msn_slpmsg_new(NULL, NULL);
+ slpmsg = msn_slpmsg_new(slplink, NULL);
new_info = slpmsg->p2p_info;
msn_p2p_info_create_ack(ack_info, new_info);
More information about the Commits
mailing list