Mercurial > pidgin.yaz
comparison src/protocols/irc/irc.c @ 10494:93dab54c7bb6
[gaim-migrate @ 11785]
Information suppression
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Sun, 09 Jan 2005 17:00:16 +0000 |
parents | 3e4ecbdf8d0a |
children | 1a97d5e88d12 |
comparison
equal
deleted
inserted
replaced
10493:387d06e21ae3 | 10494:93dab54c7bb6 |
---|---|
227 | 227 |
228 static void irc_login(GaimAccount *account, GaimStatus *status) | 228 static void irc_login(GaimAccount *account, GaimStatus *status) |
229 { | 229 { |
230 GaimConnection *gc; | 230 GaimConnection *gc; |
231 struct irc_conn *irc; | 231 struct irc_conn *irc; |
232 char *buf, **userparts; | 232 char **userparts; |
233 const char *username = gaim_account_get_username(account); | 233 const char *username = gaim_account_get_username(account); |
234 int err; | 234 int err; |
235 | 235 |
236 gc = gaim_account_get_connection(account); | 236 gc = gaim_account_get_connection(account); |
237 gc->flags |= GAIM_CONNECTION_NO_NEWLINES; | 237 gc->flags |= GAIM_CONNECTION_NO_NEWLINES; |
254 irc->cmds = g_hash_table_new(g_str_hash, g_str_equal); | 254 irc->cmds = g_hash_table_new(g_str_hash, g_str_equal); |
255 irc_cmd_table_build(irc); | 255 irc_cmd_table_build(irc); |
256 irc->msgs = g_hash_table_new(g_str_hash, g_str_equal); | 256 irc->msgs = g_hash_table_new(g_str_hash, g_str_equal); |
257 irc_msg_table_build(irc); | 257 irc_msg_table_build(irc); |
258 | 258 |
259 buf = g_strdup_printf(_("Logging in: %s"), username); | 259 gaim_connection_update_progress(gc, _("Connecting"), 1, 2); |
260 gaim_connection_update_progress(gc, buf, 1, 2); | |
261 g_free(buf); | |
262 | 260 |
263 if (gaim_account_get_bool(account, "ssl", FALSE)) { | 261 if (gaim_account_get_bool(account, "ssl", FALSE)) { |
264 if (gaim_ssl_is_supported()) { | 262 if (gaim_ssl_is_supported()) { |
265 irc->gsc = gaim_ssl_connect(account, irc->server, | 263 irc->gsc = gaim_ssl_connect(account, irc->server, |
266 gaim_account_get_int(account, "port", IRC_DEFAULT_SSL_PORT), | 264 gaim_account_get_int(account, "port", IRC_DEFAULT_SSL_PORT), |