comparison src/protocols/yahoo/yahoo.c @ 5921:6a84a1892e26

[gaim-migrate @ 6361] This will let everyone use Yahoo! again! Except for all y'all not using CVS. Which includes you, sucka! Yahoo's cool because they put punctuation in their name. I'd try being "Sean?" but that's too unassertive. 0.64 users can get onto Yahoo! by changing their screenname to all-lowercase. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 18 Jun 2003 14:02:16 +0000
parents 7d385de2f9cd
children 3014de25a8a4
comparison
equal deleted inserted replaced
5920:7d385de2f9cd 5921:6a84a1892e26
728 } 728 }
729 729
730 if (seed) { 730 if (seed) {
731 struct yahoo_packet *pack; 731 struct yahoo_packet *pack;
732 GaimAccount *account = gaim_connection_get_account(gc); 732 GaimAccount *account = gaim_connection_get_account(gc);
733 const char *name = gaim_account_get_username(account); 733 const char *name = normalize(gaim_account_get_username(account));
734 const char *pass = gaim_account_get_password(account); 734 const char *pass = gaim_account_get_password(account);
735 735
736 /* So, Yahoo has stopped supporting its older clients in India, and undoubtedly 736 /* So, Yahoo has stopped supporting its older clients in India, and undoubtedly
737 * will soon do so in the rest of the world. 737 * will soon do so in the rest of the world.
738 * 738 *
963 yd = gc->proto_data; 963 yd = gc->proto_data;
964 yd->fd = source; 964 yd->fd = source;
965 965
966 pkt = yahoo_packet_new(YAHOO_SERVICE_AUTH, YAHOO_STATUS_AVAILABLE, 0); 966 pkt = yahoo_packet_new(YAHOO_SERVICE_AUTH, YAHOO_STATUS_AVAILABLE, 0);
967 967
968 yahoo_packet_hash(pkt, 1, gaim_account_get_username(gaim_connection_get_account(gc))); 968 yahoo_packet_hash(pkt, 1, normalize(gaim_account_get_username(gaim_connection_get_account(gc))));
969 yahoo_send_packet(yd, pkt); 969 yahoo_send_packet(yd, pkt);
970 970
971 yahoo_packet_free(pkt); 971 yahoo_packet_free(pkt);
972 972
973 gc->inpa = gaim_input_add(yd->fd, GAIM_INPUT_READ, yahoo_pending, gc); 973 gc->inpa = gaim_input_add(yd->fd, GAIM_INPUT_READ, yahoo_pending, gc);