comparison libpurple/protocols/msn/slp.c @ 30449:5be6177e369e

This doesn't appear to be a programming error.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 19 Apr 2010 08:20:24 +0000
parents 911ca152210c
children c73a650f952a
comparison
equal deleted inserted replaced
30448:911ca152210c 30449:5be6177e369e
665 purple_debug_info("msn", "got_invite: transreqbody received\n"); 665 purple_debug_info("msn", "got_invite: transreqbody received\n");
666 666
667 g_return_if_fail(slpcall->xfer != NULL); 667 g_return_if_fail(slpcall->xfer != NULL);
668 668
669 /* Don't do anything if we already have a direct connection */ 669 /* Don't do anything if we already have a direct connection */
670 g_return_if_fail(slpcall->slplink->dc == NULL); 670 if (slpcall->slplink->dc != NULL)
671 return;
671 672
672 bridges = get_token(content, "Bridges: ", "\r\n"); 673 bridges = get_token(content, "Bridges: ", "\r\n");
673 if(bridges && strstr(bridges, "TCPv1") != NULL) { 674 if(bridges && strstr(bridges, "TCPv1") != NULL) {
674 /* 675 /*
675 * Ok, the client supports direct TCP connection 676 * Ok, the client supports direct TCP connection