pidgin: aa1b0003: Set od->default_port even when using the...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Wed Jul 1 21:55:40 EDT 2009


-----------------------------------------------------------------
Revision: aa1b0003a1e5ecb2e83de16870e1dab4ee4e94cc
Ancestor: 28b86ce49cc2f235b2107932b91f6a290b924efe
Author: darkrain42 at pidgin.im
Date: 2009-07-02T01:51:47
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/aa1b0003a1e5ecb2e83de16870e1dab4ee4e94cc

Modified files:
        libpurple/protocols/oscar/oscar.c

ChangeLog: 

Set od->default_port even when using the standard auth method.

od->default_port is set in oscar_connect_to_bos(), which is only called
from the clientLogin code. Since that value is used in purple_handle_redirect,
which previously just used the account option, this restores that default.

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	6430f16c5d2e67450b297b71f1ef06521c2482f8
+++ libpurple/protocols/oscar/oscar.c	db8c408b84e4ac267cc655217cf001ddc78d96cf
@@ -1534,6 +1534,7 @@ oscar_login(PurpleAccount *account)
 		gc->flags |= PURPLE_CONNECTION_AUTO_RESP;
 	}
 
+	od->default_port = purple_account_get_int(account, "port", OSCAR_DEFAULT_LOGIN_PORT);
 	od->use_ssl = purple_account_get_bool(account, "use_ssl", OSCAR_DEFAULT_USE_SSL);
 
 	/* Connect to core Purple signals */


More information about the Commits mailing list