Mercurial > pidgin.yaz
changeset 7191:4bd3892cded3
[gaim-migrate @ 7760]
Current win32 build system does not support willy nilly C99 variable declarations
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Wed, 08 Oct 2003 17:13:49 +0000 |
parents | 13c725566078 |
children | 81bd4acb7178 |
files | src/protocols/yahoo/yahoo.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Wed Oct 08 15:11:45 2003 +0000 +++ b/src/protocols/yahoo/yahoo.c Wed Oct 08 17:13:49 2003 +0000 @@ -1862,16 +1862,16 @@ struct yahoo_data *yd = gc->proto_data; const char *sn = gaim_account_get_username(account); const char *pass = gaim_account_get_password(account); - GHashTable *hash = yahoo_login_page_hash(buf, len); GString *url = g_string_new("GET /config/login?login="); - url = g_string_append(url, sn); - url = g_string_append(url, "&passwd="); - char md5[33], *hashp = md5, *chal; int i; md5_byte_t result[16]; md5_state_t ctx; + + url = g_string_append(url, sn); + url = g_string_append(url, "&passwd="); + md5_init(&ctx); md5_append(&ctx, pass, strlen(pass)); md5_finish(&ctx, result);