pidgin: 90f93e7d: A nonce doesn't seem to be necessary for...

qulogic at pidgin.im qulogic at pidgin.im
Fri May 21 18:03:57 EDT 2010


-----------------------------------------------------------------
Revision: 90f93e7d8fe9b42284c5193f3e57b1196a08bfc7
Ancestor: 163fefd5a80620159acaa16c52210d0cd1fa405e
Author: qulogic at pidgin.im
Date: 2010-05-21T06:21:05
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/90f93e7d8fe9b42284c5193f3e57b1196a08bfc7

Modified files:
        libpurple/protocols/msn/slp.c

ChangeLog: 

A nonce doesn't seem to be necessary for an INVITE with Bridges. Didn't I
make this change before? Anyway, should work with aMSN sending now.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slp.c	864aaeb0f3c92aba319412e66594644f32cc966d
+++ libpurple/protocols/msn/slp.c	1a072a522bd52d5bcfd43c95d3e0580fcb40d018
@@ -733,7 +733,7 @@ got_invite(MsnSlpCall *slpcall,
 
 		bridges = get_token(content, "Bridges: ", "\r\n");
 		nonce = parse_dc_nonce(content, &ntype);
-		if (nonce && bridges && strstr(bridges, "TCPv1") != NULL) {
+		if (bridges && strstr(bridges, "TCPv1") != NULL) {
 			/*
 			 * Ok, the client supports direct TCP connection
 			 * Try to create a listening port


More information about the Commits mailing list