| 252 cb = g_new0(struct callback_data, 1); |
252 cb = g_new0(struct callback_data, 1); |
| 253 cb->id = g_strdup(yu->id); |
253 cb->id = g_strdup(yu->id); |
| 254 cb->gc = gc; |
254 cb->gc = gc; |
| 255 |
255 |
| 256 /* Build all the info to make the web request */ |
256 /* Build all the info to make the web request */ |
| 257 url = g_strdup(yd->jp? YAHOOJP_ALIAS_UPDATE_URL: YAHOO_ALIAS_UPDATE_URL); |
257 url = yd->jp? YAHOOJP_ALIAS_UPDATE_URL: YAHOO_ALIAS_UPDATE_URL; |
| 258 purple_url_parse(url, &webaddress, &inttmp, &webpage, &strtmp, &strtmp); |
258 purple_url_parse(url, &webaddress, &inttmp, &webpage, &strtmp, &strtmp); |
| 259 |
259 |
| 260 if (yd->jp) { |
260 if (yd->jp) { |
| 261 alias_jp = g_convert(alias, strlen(alias), "EUC-JP", "UTF-8", NULL, NULL, NULL); |
261 alias_jp = g_convert(alias, strlen(alias), "EUC-JP", "UTF-8", NULL, NULL, NULL); |
| 262 converted_alias_jp = yahoo_convert_to_numeric(alias_jp); |
262 converted_alias_jp = yahoo_convert_to_numeric(alias_jp); |