- Timestamp:
- 2010-12-05T00:30:07Z (14 years ago)
- Branches:
- master
- Children:
- a429907
- Parents:
- b41d5d2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter_lib.c
rb41d5d2 rfd65edb 110 110 g_free(l->data); 111 111 g_slist_free(txl->list); 112 g_free(txl); 112 113 } 113 114 … … 270 271 271 272 txl_free(txl); 272 g_free(txl);273 273 } 274 274 … … 507 507 struct groupchat *gc; 508 508 struct twitter_data *td = ic->proto_data; 509 GSList *l; 509 510 510 511 td->home_timeline_gc = gc = imcb_chat_new( ic, "home/timeline" ); … … 513 514 imcb_chat_name_hint( gc, name_hint ); 514 515 g_free( name_hint ); 516 517 for( l = ic->bee->users; l; l = l->next ) 518 { 519 bee_user_t *bu = l->data; 520 if( bu->ic == ic ) 521 imcb_chat_add_buddy( td->home_timeline_gc, bu->handle ); 522 } 515 523 } 516 524 … … 649 657 650 658 // See if the user wants to see the messages in a groupchat window or as private messages. 651 if (g_strcasecmp(set_getstr(&ic->acc->set, "mode"), "chat") == 0) 659 if (txl->list == NULL) 660 ; 661 else if (g_strcasecmp(set_getstr(&ic->acc->set, "mode"), "chat") == 0) 652 662 twitter_groupchat(ic, txl->list); 653 663 else … … 656 666 // Free the structure. 657 667 txl_free(txl); 658 g_free(txl);659 668 } 660 669 … … 731 740 // Free the structure. 732 741 txl_free(txl); 733 g_free(txl);734 742 } 735 743
Note: See TracChangeset
for help on using the changeset viewer.