changeset 32003:f518effe7395

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.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 05 May 2011 22:21:12 +0000
parents dfc2a8e98430
children ce968e115c95
files libpurple/protocols/msn/p2p.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/p2p.c	Thu May 05 22:19:36 2011 +0000
+++ b/libpurple/protocols/msn/p2p.c	Thu May 05 22:21:12 2011 +0000
@@ -373,7 +373,7 @@
 			break;
 
 		case MSN_P2P_VERSION_TWO:
-			/* Nothing to do! */
+			session_id = info->header.v2.session_id;
 			break;
 
 		default:
@@ -394,7 +394,7 @@
 			break;
 
 		case MSN_P2P_VERSION_TWO:
-			/* Nothing to do! */
+			id = info->header.v2.base_id;
 			break;
 
 		default:
@@ -566,7 +566,7 @@
 			break;
 
 		case MSN_P2P_VERSION_TWO:
-			/* Nothing to do! */
+			info->header.v2.session_id = session_id;
 			break;
 
 		default:
@@ -584,7 +584,7 @@
 			break;
 
 		case MSN_P2P_VERSION_TWO:
-			/* Nothing to do! */
+			info->header.v2.base_id = id;
 			break;
 
 		default: