Changes in protocols/yahoo/yahoo.c [56699f0:6e6b3d7]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/yahoo.c
r56699f0 r6e6b3d7 158 158 159 159 while( ic->groupchats ) 160 imcb_chat_free( ic->groupchats ->data);160 imcb_chat_free( ic->groupchats ); 161 161 162 162 for( l = yd->buddygroups; l; l = l->next ) … … 613 613 imcb_buddy_status( ic, who, flags, state_string, msg ); 614 614 615 /* Not implemented yet... 615 616 if( stat == YAHOO_STATUS_IDLE ) 616 imcb_buddy_times( ic, who, 0, idle ); 617 imcb_buddy_times( ic, who, 0, away ); 618 */ 617 619 } 618 620 … … 684 686 685 687 inp->d = d; 686 d->tag = inp->h = b_input_add( fd, B_EV_IO_READ, (b_event_handler) byahoo_read_ready_callback, (gpointer) d );688 d->tag = inp->h = b_input_add( fd, GAIM_INPUT_READ, (b_event_handler) byahoo_read_ready_callback, (gpointer) d ); 687 689 } 688 690 else if( cond == YAHOO_INPUT_WRITE ) … … 695 697 696 698 inp->d = d; 697 d->tag = inp->h = b_input_add( fd, B_EV_IO_WRITE, (b_event_handler) byahoo_write_ready_callback, (gpointer) d );699 d->tag = inp->h = b_input_add( fd, GAIM_INPUT_WRITE, (b_event_handler) byahoo_write_ready_callback, (gpointer) d ); 698 700 } 699 701 else … … 794 796 struct byahoo_conf_invitation *inv = data; 795 797 struct groupchat *b; 796 GSList *l; 797 798 for( l = inv->ic->groupchats; l; l = l->next ) 799 { 800 b = l->data; 798 799 for( b = inv->ic->groupchats; b; b = b->next ) 801 800 if( b == inv->c ) 802 801 break; 803 }804 802 805 803 if( b != NULL ) … … 867 865 { 868 866 struct im_connection *ic = byahoo_get_ic_by_id( id ); 869 struct groupchat *c = bee_chat_by_title( ic->bee, ic, room ); 867 struct groupchat *c; 868 869 for( c = ic->groupchats; c && strcmp( c->title, room ) != 0; c = c->next ); 870 870 871 871 if( c ) … … 877 877 { 878 878 struct im_connection *ic = byahoo_get_ic_by_id( id ); 879 struct groupchat *c = bee_chat_by_title( ic->bee, ic, room ); 879 struct groupchat *c; 880 881 for( c = ic->groupchats; c && strcmp( c->title, room ) != 0; c = c->next ); 880 882 881 883 if( c ) … … 887 889 struct im_connection *ic = byahoo_get_ic_by_id( id ); 888 890 char *m = byahoo_strip( msg ); 889 struct groupchat *c = bee_chat_by_title( ic->bee, ic, room ); 891 struct groupchat *c; 892 893 for( c = ic->groupchats; c && strcmp( c->title, room ) != 0; c = c->next ); 890 894 891 895 if( c )
Note: See TracChangeset
for help on using the changeset viewer.