Mercurial > pidgin.yaz
comparison src/protocols/yahoo/yahoo.c @ 4634:d19872836812
[gaim-migrate @ 4941]
This will let you set up different proxy settings for different accounts.
Mainly useful to the corporate users that need to connect to an internal
jabber server, and still want to connect to "external" stuff through a
proxy, or something along those lines. I'm sure someone will come up with
another use for it.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 02 Mar 2003 18:48:02 +0000 |
parents | 5fcb44d771d2 |
children | 283fb289c510 |
comparison
equal
deleted
inserted
replaced
4633:812148fb2e2f | 4634:d19872836812 |
---|---|
971 g_snprintf(account->proto_opt[USEROPT_PAGERHOST], strlen("scs.yahoo.com") + 1, "scs.yahoo.com"); | 971 g_snprintf(account->proto_opt[USEROPT_PAGERHOST], strlen("scs.yahoo.com") + 1, "scs.yahoo.com"); |
972 save_prefs(); | 972 save_prefs(); |
973 } | 973 } |
974 | 974 |
975 | 975 |
976 if (proxy_connect(account->proto_opt[USEROPT_PAGERHOST][0] ? | 976 if (proxy_connect(account, account->proto_opt[USEROPT_PAGERHOST][0] ? |
977 account->proto_opt[USEROPT_PAGERHOST] : YAHOO_PAGER_HOST, | 977 account->proto_opt[USEROPT_PAGERHOST] : YAHOO_PAGER_HOST, |
978 account->proto_opt[USEROPT_PAGERPORT][0] ? | 978 account->proto_opt[USEROPT_PAGERPORT][0] ? |
979 atoi(account->proto_opt[USEROPT_PAGERPORT]) : YAHOO_PAGER_PORT, | 979 atoi(account->proto_opt[USEROPT_PAGERPORT]) : YAHOO_PAGER_PORT, |
980 yahoo_got_connected, gc) != 0) { | 980 yahoo_got_connected, gc) != 0) { |
981 hide_login_progress(gc, "Connection problem"); | 981 hide_login_progress(gc, "Connection problem"); |