# HG changeset patch
# User Paul Aurich <paul@darkrain42.org>
# Date 1246499507 0
# Node ID 76cf0b261e25828d9d574de993c9c8762f425556
# Parent  8ecd6945a96a19e28863f3d94ac47f5e3c6b2a1e
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.

diff -r 8ecd6945a96a -r 76cf0b261e25 libpurple/protocols/oscar/oscar.c
--- a/libpurple/protocols/oscar/oscar.c	Wed Jul 01 03:53:48 2009 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Thu Jul 02 01:51:47 2009 +0000
@@ -1534,6 +1534,7 @@
 		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 */