changeset 30483:0662e5baada0

Fallback to P2P if connecting to external IP didn't work immediately.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 17 May 2010 07:34:52 +0000
parents 783d736704b8
children 60ea80b5af53
files libpurple/protocols/msn/directconn.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/directconn.c	Sat May 15 08:02:08 2010 +0000
+++ b/libpurple/protocols/msn/directconn.c	Mon May 17 07:34:52 2010 +0000
@@ -854,6 +854,12 @@
 				msn_dc_outgoing_connection_timeout_cb,
 				dc
 			);
+		} else {
+			/*
+			 * Connection failed
+			 * Fall back to P2P transfer
+			 */
+			msn_dc_outgoing_connection_timeout_cb(dc);
 		}
 
 	} else {