Mercurial > pidgin
comparison src/protocols/yahoo/yahoo.c @ 10575:96307e1a47c9
[gaim-migrate @ 11968]
This makes Yahoo roomlist & filetransfer work with HTTP proxies (except when
authentication is needed), webauth probably works too but I couldn't work out
how to test that.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 05 Feb 2005 18:24:50 +0000 |
parents | 7d165e1eec4d |
children | 74cc119beceb |
comparison
equal
deleted
inserted
replaced
10574:77ef3f2f0df8 | 10575:96307e1a47c9 |
---|---|
2149 GaimAccount *account = gaim_connection_get_account(gc); | 2149 GaimAccount *account = gaim_connection_get_account(gc); |
2150 struct yahoo_data *yd = gc->proto_data; | 2150 struct yahoo_data *yd = gc->proto_data; |
2151 const char *sn = gaim_account_get_username(account); | 2151 const char *sn = gaim_account_get_username(account); |
2152 const char *pass = gaim_account_get_password(account); | 2152 const char *pass = gaim_account_get_password(account); |
2153 GHashTable *hash = yahoo_login_page_hash(buf, len); | 2153 GHashTable *hash = yahoo_login_page_hash(buf, len); |
2154 GString *url = g_string_new("GET /config/login?login="); | 2154 GString *url = g_string_new("GET http://login.yahoo.com/config/login?login="); |
2155 char md5[33], *hashp = md5, *chal; | 2155 char md5[33], *hashp = md5, *chal; |
2156 int i; | 2156 int i; |
2157 md5_byte_t result[16]; | 2157 md5_byte_t result[16]; |
2158 md5_state_t ctx; | 2158 md5_state_t ctx; |
2159 | 2159 |