# HG changeset patch # User Herman Bloggs # Date 1065633229 0 # Node ID 4bd3892cded3ae96dbe2a6d0604adec14c6e6c03 # Parent 13c7255660789f9f0728669d5fba3cbf5d125ee5 [gaim-migrate @ 7760] Current win32 build system does not support willy nilly C99 variable declarations committer: Tailor Script diff -r 13c725566078 -r 4bd3892cded3 src/protocols/yahoo/yahoo.c --- 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);