src/protocols/oscar/peer.c

changeset 14172
e48be3c394c3
parent 14171
351b731b9553
equal deleted inserted replaced
14171:351b731b9553 14172:e48be3c394c3
656 conn = data; 656 conn = data;
657 657
658 gaim_debug_info("oscar", "Peer connection timed out after 15 seconds. " 658 gaim_debug_info("oscar", "Peer connection timed out after 15 seconds. "
659 "Trying next method...\n"); 659 "Trying next method...\n");
660 660
661 gaim_proxy_connect_cancel(conn->connect_info); 661 peer_connection_close(conn);
662 conn->connect_info = NULL;
663 conn->connect_timeout_timer = 0;
664 662
665 peer_connection_trynext(conn); 663 peer_connection_trynext(conn);
666 664
667 /* Cancel this timer. It'll be added again, if needed. */ 665 /* Cancel this timer. It'll be added again, if needed. */
668 return FALSE; 666 return FALSE;

mercurial