libpurple/protocols/yahoo/yahoo_aliases.c

changeset 22247
c2e3ed27737c
parent 22242
f2efb6941859
child 22248
db9b3bc9d442
equal deleted inserted replaced
22246:d2814ea686bd 22247:c2e3ed27737c
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);
287 if (url_data != NULL) { 287 if (url_data != NULL) {
288 yd->url_datas = g_slist_prepend(yd->url_datas, url_data); 288 yd->url_datas = g_slist_prepend(yd->url_datas, url_data);
289 } 289 }
290 290
291 g_free(content); 291 g_free(content);
292 g_free(url);
293 g_free(request); 292 g_free(request);
294 } 293 }
295 294

mercurial