changeset 30078:3c4f821de25b

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.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 21 May 2010 06:21:05 +0000
parents 11e748b759a2
children 1aa1e1e1876d
files libpurple/protocols/msn/slp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slp.c	Fri May 21 04:51:31 2010 +0000
+++ b/libpurple/protocols/msn/slp.c	Fri May 21 06:21:05 2010 +0000
@@ -733,7 +733,7 @@
 
 		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