Changeset 6738a67 for protocols/yahoo/yahoo.c
- Timestamp:
- 2008-07-16T23:22:52Z (16 years ago)
- Branches:
- master
- Children:
- 9b55485
- Parents:
- 9730d72 (diff), 6a78c0e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/yahoo.c
r9730d72 r6738a67 163 163 g_slist_free( yd->buddygroups ); 164 164 165 if( yd->logged_in ) 166 yahoo_logoff( yd->y2_id ); 167 else 168 yahoo_close( yd->y2_id ); 165 yahoo_logoff( yd->y2_id ); 169 166 170 167 g_free( yd ); … … 315 312 struct byahoo_data *yd = (struct byahoo_data *) c->ic->proto_data; 316 313 317 yahoo_conference_invite( yd->y2_id, NULL, c->data, c->title, msg );314 yahoo_conference_invite( yd->y2_id, NULL, c->data, c->title, msg ? msg : "" ); 318 315 } 319 316 … … 454 451 { 455 452 struct byahoo_write_ready_data *d = data; 456 457 if( !byahoo_get_ic_by_id( d->id ) )458 /* WTF doesn't libyahoo clean this up? */459 return FALSE;460 453 461 454 yahoo_write_ready( d->id, d->fd, d->data ); … … 798 791 } 799 792 800 static void byahoo_accept_conf( gpointer w, struct byahoo_conf_invitation *inv ) 801 { 793 static void byahoo_accept_conf( void *data ) 794 { 795 struct byahoo_conf_invitation *inv = data; 796 802 797 yahoo_conference_logon( inv->yid, NULL, inv->members, inv->name ); 803 798 imcb_chat_add_buddy( inv->c, inv->ic->acc->user ); … … 806 801 } 807 802 808 static void byahoo_reject_conf( gpointer w, struct byahoo_conf_invitation *inv ) 809 { 803 static void byahoo_reject_conf( void *data ) 804 { 805 struct byahoo_conf_invitation *inv = data; 806 810 807 yahoo_conference_decline( inv->yid, NULL, inv->members, inv->name, "User rejected groupchat" ); 811 808 imcb_chat_free( inv->c );
Note: See TracChangeset
for help on using the changeset viewer.