pidgin: 92f47f4e: I think this is the way to map to P2Pv2,...

qulogic at pidgin.im qulogic at pidgin.im
Fri May 6 02:36:40 EDT 2011


----------------------------------------------------------------------
Revision: 92f47f4e8b0cbb107fd97e1ab814d1cedbf109ad
Parent:   844313d83191cb5ce41402a24febba9e59dfd576
Author:   qulogic at pidgin.im
Date:     05/05/11 18:21:12
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/92f47f4e8b0cbb107fd97e1ab814d1cedbf109ad

Changelog: 

I think this is the way to map to P2Pv2, but I don't have Internet
access to be sure about it. I'll get to the rest when I'm next online.

Changes against parent 844313d83191cb5ce41402a24febba9e59dfd576

  patched  libpurple/protocols/msn/p2p.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/p2p.c	812b1e0a91a7d81abf1d375cf368e337a1b75a69
+++ libpurple/protocols/msn/p2p.c	595f2ced5e1b148eef8bab3539657904954157f9
@@ -373,7 +373,7 @@ msn_p2p_info_get_session_id(MsnP2PInfo *
 			break;
 
 		case MSN_P2P_VERSION_TWO:
-			/* Nothing to do! */
+			session_id = info->header.v2.session_id;
 			break;
 
 		default:
@@ -394,7 +394,7 @@ msn_p2p_info_get_id(MsnP2PInfo *info)
 			break;
 
 		case MSN_P2P_VERSION_TWO:
-			/* Nothing to do! */
+			id = info->header.v2.base_id;
 			break;
 
 		default:
@@ -566,7 +566,7 @@ msn_p2p_info_set_session_id(MsnP2PInfo *
 			break;
 
 		case MSN_P2P_VERSION_TWO:
-			/* Nothing to do! */
+			info->header.v2.session_id = session_id;
 			break;
 
 		default:
@@ -584,7 +584,7 @@ msn_p2p_info_set_id(MsnP2PInfo *info, gu
 			break;
 
 		case MSN_P2P_VERSION_TWO:
-			/* Nothing to do! */
+			info->header.v2.base_id = id;
 			break;
 
 		default:


More information about the Commits mailing list