changeset 14110:5cefeb370262

[gaim-migrate @ 16744] Code re-use! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 14 Aug 2006 06:27:04 +0000
parents a21da42126d6
children c44af67e2065
files src/protocols/oscar/peer.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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);