src/protocols/yahoo/yahoo.c

changeset 10740
a1cb6b819a21
parent 10738
63ca8277c234
child 10746
5a1ded2c0417
--- a/src/protocols/yahoo/yahoo.c	Sat Mar 26 21:22:53 2005 +0000
+++ b/src/protocols/yahoo/yahoo.c	Sat Mar 26 23:25:18 2005 +0000
@@ -920,7 +920,7 @@
 	struct yahoo_packet *pack;
 	GaimAccount *account = gaim_connection_get_account(gc);
 	const char *name = gaim_normalize(account, gaim_account_get_username(account));
-	const char *pass = gaim_account_get_password(account);
+	const char *pass = gaim_connection_get_password(gc);
 	struct yahoo_data *yd = gc->proto_data;
 
 	/* So, Yahoo has stopped supporting its older clients in India, and undoubtedly
@@ -1037,7 +1037,7 @@
 	struct yahoo_packet *pack = NULL;
 	GaimAccount *account = gaim_connection_get_account(gc);
 	const char *name = gaim_normalize(account, gaim_account_get_username(account));
-	const char *pass = gaim_account_get_password(account);
+	const char *pass = gaim_connection_get_password(gc);
 	struct yahoo_data *yd = gc->proto_data;
 
 	GaimCipher 			*md5_cipher;
@@ -2172,7 +2172,7 @@
 	GaimAccount *account = gaim_connection_get_account(gc);
 	struct yahoo_data *yd = gc->proto_data;
 	const char *sn = gaim_account_get_username(account);
-	const char *pass = gaim_account_get_password(account);
+	const char *pass = gaim_connection_get_password(gc);
 	GHashTable *hash = yahoo_login_page_hash(buf, len);
 	GString *url = g_string_new("GET http://login.yahoo.com/config/login?login=");
 	char md5[33], *hashp = md5, *chal;

mercurial