Changeset 178e2f8 for protocols/yahoo
- Timestamp:
- 2008-06-28T17:32:41Z (16 years ago)
- Branches:
- master
- Children:
- 47b571d
- Parents:
- 2e0f24d (diff), e0f9170 (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. - Location:
- protocols/yahoo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/libyahoo2.c
r2e0f24d r178e2f8 379 379 380 380 /* call repeatedly to get the next one */ 381 /*382 381 static struct yahoo_input_data * find_input_by_id(int id) 383 382 { … … 390 389 return NULL; 391 390 } 392 */393 391 394 392 static struct yahoo_input_data * find_input_by_id_and_webcam_user(int id, const char * who) … … 795 793 { 796 794 struct yahoo_data *yd = find_conn_by_id(id); 795 797 796 if(!yd) 798 797 return; … … 3164 3163 3165 3164 LOG(("write callback: id=%d fd=%d data=%p", id, fd, data)); 3166 if(!yid || !yid->txqueues )3165 if(!yid || !yid->txqueues || !find_conn_by_id(id)) 3167 3166 return -2; 3168 3167 … … 3840 3839 } 3841 3840 3842 3843 /* do { 3841 do { 3844 3842 yahoo_input_close(yid); 3845 } while((yid = find_input_by_id(id)));*/ 3846 3843 } while((yid = find_input_by_id(id))); 3847 3844 } 3848 3845 -
protocols/yahoo/yahoo.c
r2e0f24d r178e2f8 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 ); … … 454 451 struct byahoo_write_ready_data *d = data; 455 452 456 if( !byahoo_get_ic_by_id( d->id ) )457 /* WTF doesn't libyahoo clean this up? */458 return FALSE;459 460 453 yahoo_write_ready( d->id, d->fd, d->data ); 461 454
Note: See TracChangeset
for help on using the changeset viewer.