Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/slp.c @ 30498: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 | ad6c8747e835 |
children | 1aa1e1e1876d |
comparison
equal
deleted
inserted
replaced
30497:11e748b759a2 | 30498:3c4f821de25b |
---|---|
731 if (slplink->dc != NULL) | 731 if (slplink->dc != NULL) |
732 return; | 732 return; |
733 | 733 |
734 bridges = get_token(content, "Bridges: ", "\r\n"); | 734 bridges = get_token(content, "Bridges: ", "\r\n"); |
735 nonce = parse_dc_nonce(content, &ntype); | 735 nonce = parse_dc_nonce(content, &ntype); |
736 if (nonce && bridges && strstr(bridges, "TCPv1") != NULL) { | 736 if (bridges && strstr(bridges, "TCPv1") != NULL) { |
737 /* | 737 /* |
738 * Ok, the client supports direct TCP connection | 738 * Ok, the client supports direct TCP connection |
739 * Try to create a listening port | 739 * Try to create a listening port |
740 */ | 740 */ |
741 MsnDirectConn *dc; | 741 MsnDirectConn *dc; |