Mercurial > pidgin
diff src/protocols/yahoo/yahoo_profile.c @ 11644:f4e58e94ced3
[gaim-migrate @ 13922]
Yahoo! whitespace cleanup from Peter Lawler
Gracias!
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Wed, 12 Oct 2005 04:02:46 +0000 |
| parents | 52695596064d |
| children | 52f27ffe68a5 |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_profile.c Wed Oct 12 02:47:31 2005 +0000 +++ b/src/protocols/yahoo/yahoo_profile.c Wed Oct 12 04:02:46 2005 +0000 @@ -34,13 +34,11 @@ #include "yahoo.h" #include "yahoo_friend.h" - typedef struct { GaimConnection *gc; char *name; } YahooGetInfoData; - typedef enum profile_lang_id { XX, DA, DE, EL, EN, EN_GB, @@ -83,14 +81,12 @@ char *dummy; } profile_strings_node_t; - typedef enum profile_state { PROFILE_STATE_DEFAULT, PROFILE_STATE_NOT_FOUND, PROFILE_STATE_UNKNOWN_LANGUAGE } profile_state_t; - typedef struct { YahooGetInfoData *info_data; char *url_buffer; @@ -104,7 +100,6 @@ profile_state_t profile_state; } YahooGetInfoStepTwoData; - /* Strings to determine the profile "language" (more accurately "locale"). * Strings in this list must be in the original charset in the profile. * The "Last Updated" string is used, but sometimes is not sufficient to @@ -968,7 +963,6 @@ s = g_string_sized_new(strlen(url_buffer)); if (profile_state == PROFILE_STATE_DEFAULT) { - #if 0 /* extract their Yahoo! ID and put it in. Don't bother marking has_info as * true, since the Yahoo! ID will always be there */ @@ -979,7 +973,6 @@ #endif #if PHOTO_SUPPORT - /* Try to put the photo in there too, if there's one and is readable */ if (data && url_text && len != 0) { if (strstr(url_text, "400 Bad Request") @@ -994,7 +987,6 @@ g_string_append_printf(s, "<img id=\"%d\"><br>", id); } } - #endif /* PHOTO_SUPPORT */ /* extract their Email address and put it in */
