comparison src/protocols/yahoo/yahoochat.c @ 10647:7d13c04387ad

[gaim-migrate @ 12163] These got committed to oldstatus, but not to HEAD committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 02 Mar 2005 04:36:19 +0000
parents 96307e1a47c9
children ca3e0882d377
comparison
equal deleted inserted replaced
10646:6a618db0a404 10647:7d13c04387ad
1389 1389
1390 gaim_roomlist_set_in_progress(list, FALSE); 1390 gaim_roomlist_set_in_progress(list, FALSE);
1391 1391
1392 for (; l; l = l->next) { 1392 for (; l; l = l->next) {
1393 yahoo_roomlist_destroy(l->data); 1393 yahoo_roomlist_destroy(l->data);
1394 gaim_roomlist_unref(l->data); 1394 gaim_roomlist_unref(list);
1395 } 1395 }
1396 g_list_free(k); 1396 g_list_free(k);
1397 } 1397 }
1398 1398
1399 void yahoo_roomlist_expand_category(GaimRoomlist *list, GaimRoomlistRoom *category) 1399 void yahoo_roomlist_expand_category(GaimRoomlist *list, GaimRoomlistRoom *category)
1429 if (gaim_proxy_connect(list->account, 1429 if (gaim_proxy_connect(list->account,
1430 yrl->host, 80, yahoo_roomlist_got_connected, yrl) != 0) 1430 yrl->host, 80, yahoo_roomlist_got_connected, yrl) != 0)
1431 { 1431 {
1432 gaim_notify_error(gaim_account_get_connection(list->account), 1432 gaim_notify_error(gaim_account_get_connection(list->account),
1433 NULL, _("Connection problem"), _("Unable to fetch room list.")); 1433 NULL, _("Connection problem"), _("Unable to fetch room list."));
1434 gaim_roomlist_ref(list);
1434 yahoo_roomlist_cleanup(list, yrl); 1435 yahoo_roomlist_cleanup(list, yrl);
1435 return; 1436 return;
1436 } 1437 }
1437 1438
1438 gaim_roomlist_set_in_progress(list, TRUE); 1439 gaim_roomlist_set_in_progress(list, TRUE);