# HG changeset patch
# User Mark Doliner <mark@kingant.net>
# Date 1155536824 0
# Node ID 5cefeb3702620bcbb15ad3d8f4fe3fa4c93c75b4
# Parent  a21da42126d64358ff4a949384c853c1a47f0b9d
[gaim-migrate @ 16744]
Code re-use!

committer: Tailor Script <tailor@pidgin.im>

diff -r a21da42126d6 -r 5cefeb370262 src/protocols/oscar/peer.c
--- a/src/protocols/oscar/peer.c	Mon Aug 14 06:24:17 2006 +0000
+++ b/src/protocols/oscar/peer.c	Mon Aug 14 06:27:04 2006 +0000
@@ -658,9 +658,7 @@
 	gaim_debug_info("oscar", "Peer connection timed out after 15 seconds.  "
 			"Trying next method...\n");
 
-	gaim_proxy_connect_cancel(conn->connect_info);
-	conn->connect_info = NULL;
-	conn->connect_timeout_timer = 0;
+	peer_connection_close(conn);
 
 	peer_connection_trynext(conn);