pidgin: 6bcd16a3: Fallback to P2P if connecting to externa...

qulogic at pidgin.im qulogic at pidgin.im
Fri May 21 18:03:28 EDT 2010


-----------------------------------------------------------------
Revision: 6bcd16a3697b056dec21d2f1a4f568f736b4eaa8
Ancestor: 960f413c5f1317a2d152f0b0571357d8196ec8e6
Author: qulogic at pidgin.im
Date: 2010-05-17T07:34:52
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6bcd16a3697b056dec21d2f1a4f568f736b4eaa8

Modified files:
        libpurple/protocols/msn/directconn.c

ChangeLog: 

Fallback to P2P if connecting to external IP didn't work immediately.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/directconn.c	052fdfd402fda13aee6ab540222fad678f298173
+++ libpurple/protocols/msn/directconn.c	2fb31302a931519774209f12bfbf94d23675d12a
@@ -854,6 +854,12 @@ msn_dc_outgoing_connection_timeout_cb(gp
 				msn_dc_outgoing_connection_timeout_cb,
 				dc
 			);
+		} else {
+			/*
+			 * Connection failed
+			 * Fall back to P2P transfer
+			 */
+			msn_dc_outgoing_connection_timeout_cb(dc);
 		}
 
 	} else {


More information about the Commits mailing list