changeset 27237:76cf0b261e25

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.
author Paul Aurich <paul@darkrain42.org>
date Thu, 02 Jul 2009 01:51:47 +0000
parents 8ecd6945a96a
children fd45bfd89872
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 */