pidgin.openq: 5e26c110: 2008.12.28 - flos <lonicerae(at)gmail.co...

csyfek at gmail.com csyfek at gmail.com
Sat Dec 27 13:46:11 EST 2008


-----------------------------------------------------------------
Revision: 5e26c110c15af7a9609cc97e2d5ac6333b841cb2
Ancestor: 39dd86c333693d6ff65448e4dd442eab1dfe09a8
Author: csyfek at gmail.com
Date: 2008-12-27T18:42:19
Branch: im.pidgin.pidgin.openq
URL: http://d.pidgin.im/viewmtn/revision/info/5e26c110c15af7a9609cc97e2d5ac6333b841cb2

Modified files:
        libpurple/protocols/qq/ChangeLog
        libpurple/protocols/qq/qq_network.c

ChangeLog: 

2008.12.28 - flos <lonicerae(at)gmail.com>
	* Fixes #7908

-------------- next part --------------
============================================================
--- libpurple/protocols/qq/ChangeLog	b4df2c0dfb6e95cd95fcd6f7b2819495f33053f9
+++ libpurple/protocols/qq/ChangeLog	eb1c0cc13c8613614d53a4c5a2a83b1f880c04bf
@@ -1,4 +1,7 @@ 2008.12.28 - flos <lonicerae(at)gmail.co
 2008.12.28 - flos <lonicerae(at)gmail.com>
+	* Fixes #7908
+
+2008.12.28 - flos <lonicerae(at)gmail.com>
 	* References #7908
 
 2008.12.25 - flos <lonicerae(at)gmail.com>
============================================================
--- libpurple/protocols/qq/qq_network.c	aa75511cf024d1fe216dfee1f6fc87bf7dc0ee35
+++ libpurple/protocols/qq/qq_network.c	7efc1ba7cf25c27c33c635663af8fbf9cc2cff3f
@@ -219,10 +219,14 @@ gboolean qq_connect_later(gpointer data)
 	if (NULL != segments[1]) {
 		port = atoi(segments[1]);
 		if (port <= 0) {
-			purple_debug_info("QQ", "Port not define in %s\n", qd->curr_server);
+			purple_debug_info("QQ", "Port not define in %s, use default.\n", qd->curr_server);
 			port = QQ_DEFAULT_PORT;
 		}
+	} else {
+		purple_debug_info("QQ", "Error splitting server string: %s, setting port to default.\n", qd->curr_server);
+		port = QQ_DEFAULT_PORT;
 	}
+
 	g_strfreev(segments);
 
 	qd->connect_retry--;


More information about the Commits mailing list