Changeset eaaa986 for protocols/yahoo
- Timestamp:
- 2010-05-08T14:48:38Z (15 years ago)
- Branches:
- master
- Children:
- e685657
- Parents:
- 4a9fd5f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/yahoo.c
r4a9fd5f reaaa986 153 153 154 154 while( ic->groupchats ) 155 imcb_chat_free( ic->groupchats );155 imcb_chat_free( ic->groupchats->data ); 156 156 157 157 for( l = yd->buddygroups; l; l = l->next ) … … 791 791 struct byahoo_conf_invitation *inv = data; 792 792 struct groupchat *b; 793 794 for( b = inv->ic->groupchats; b; b = b->next ) 793 GSList *l; 794 795 for( l = inv->ic->groupchats; l; l = l->next ) 796 { 797 b = l->data; 795 798 if( b == inv->c ) 796 799 break; 800 } 797 801 798 802 if( b != NULL ) … … 856 860 { 857 861 struct im_connection *ic = byahoo_get_ic_by_id( id ); 858 struct groupchat *c; 859 860 for( c = ic->groupchats; c && strcmp( c->title, room ) != 0; c = c->next ); 862 struct groupchat *c = bee_chat_by_title( ic->bee, ic, room ); 861 863 862 864 if( c ) … … 868 870 { 869 871 struct im_connection *ic = byahoo_get_ic_by_id( id ); 870 struct groupchat *c; 871 872 for( c = ic->groupchats; c && strcmp( c->title, room ) != 0; c = c->next ); 872 struct groupchat *c = bee_chat_by_title( ic->bee, ic, room ); 873 873 874 874 if( c ) … … 880 880 struct im_connection *ic = byahoo_get_ic_by_id( id ); 881 881 char *m = byahoo_strip( msg ); 882 struct groupchat *c; 883 884 for( c = ic->groupchats; c && strcmp( c->title, room ) != 0; c = c->next ); 882 struct groupchat *c = bee_chat_by_title( ic->bee, ic, room ); 885 883 886 884 if( c )
Note: See TracChangeset
for help on using the changeset viewer.