pidgin: 9731345d: This function doesn't do much of anythin...

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


----------------------------------------------------------------------
Revision: 9731345de3812fa772646c6b1d7e8c4a3049d95b
Parent:   ba1c25d309ed7a9bfe47f529d0f285a34849368d
Author:   qulogic at pidgin.im
Date:     05/09/11 03:00:03
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9731345de3812fa772646c6b1d7e8c4a3049d95b

Changelog: 

This function doesn't do much of anything any more.

Changes against parent ba1c25d309ed7a9bfe47f529d0f285a34849368d

  patched  libpurple/protocols/msn/slplink.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slplink.c	dc33220576c84bfe6327c7d7a36ff326c4d43bcc
+++ libpurple/protocols/msn/slplink.c	97549973787364cff04f0fc8d7dfe10c51dc53c8
@@ -405,20 +405,10 @@ msn_slplink_send_queued_slpmsgs(MsnSlpLi
 	}
 }
 
-static MsnSlpMessage *
-msn_slplink_create_ack(MsnSlpLink *slplink, MsnP2PInfo *info)
-{
-	MsnSlpMessage *slpmsg;
-
-	slpmsg = msn_slpmsg_ack_new(slplink, info);
-
-	return slpmsg;
-}
-
 static void
 msn_slplink_send_ack(MsnSlpLink *slplink, MsnP2PInfo *info)
 {
-	MsnSlpMessage *slpmsg = msn_slplink_create_ack(slplink, info);
+	MsnSlpMessage *slpmsg = msn_slpmsg_ack_new(slplink, info);
 
 	msn_slplink_send_slpmsg(slplink, slpmsg);
 	msn_slpmsg_destroy(slpmsg);
@@ -520,7 +510,7 @@ process_complete_msg(MsnSlpLink *slplink
 			 */
 			purple_debug_info("msn", "msn_slplink_process_msg: save ACK\n");
 
-			slpcall->slplink->dc->prev_ack = msn_slplink_create_ack(slplink, info);
+			slpcall->slplink->dc->prev_ack = msn_slpmsg_ack_new(slplink, info);
 		} else if (!slpcall->wasted) {
 			purple_debug_info("msn", "msn_slplink_process_msg: send ACK\n");
 


More information about the Commits mailing list