comparison libpurple/protocols/oscar/oscar.c @ 31094:204827933880

Use an SSL server by default for new OSCAR accounts. It doesn't matter much, because we will change the server to the correct host when connecting, but still.
author ivan.komarov@soc.pidgin.im
date Mon, 01 Nov 2010 07:10:36 +0000
parents 1558900f47e5
children a636aa086d0b
comparison
equal deleted inserted replaced
31093:29c3443419c3 31094:204827933880
5676 { 5676 {
5677 PurplePluginProtocolInfo *prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(plugin); 5677 PurplePluginProtocolInfo *prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(plugin);
5678 PurpleAccountOption *option; 5678 PurpleAccountOption *option;
5679 static gboolean init = FALSE; 5679 static gboolean init = FALSE;
5680 5680
5681 option = purple_account_option_string_new(_("Server"), "server", get_login_server(is_icq, FALSE)); 5681 option = purple_account_option_string_new(_("Server"), "server", get_login_server(is_icq, OSCAR_DEFAULT_USE_SSL));
5682 prpl_info->protocol_options = g_list_append(prpl_info->protocol_options, option); 5682 prpl_info->protocol_options = g_list_append(prpl_info->protocol_options, option);
5683 5683
5684 option = purple_account_option_int_new(_("Port"), "port", OSCAR_DEFAULT_LOGIN_PORT); 5684 option = purple_account_option_int_new(_("Port"), "port", OSCAR_DEFAULT_LOGIN_PORT);
5685 prpl_info->protocol_options = g_list_append(prpl_info->protocol_options, option); 5685 prpl_info->protocol_options = g_list_append(prpl_info->protocol_options, option);
5686 5686