Changeset 52df5df
- Timestamp:
- 2008-06-14T01:19:12Z (17 years ago)
- Branches:
- master
- Children:
- 5ec4129
- Parents:
- b6cd9e9
- Location:
- protocols/yahoo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/libyahoo2.c
rb6cd9e9 r52df5df 381 381 382 382 /* call repeatedly to get the next one */ 383 /*384 383 static struct yahoo_input_data * find_input_by_id(int id) 385 384 { … … 392 391 return NULL; 393 392 } 394 */395 393 396 394 static struct yahoo_input_data * find_input_by_id_and_webcam_user(int id, const char * who) … … 797 795 { 798 796 struct yahoo_data *yd = find_conn_by_id(id); 797 799 798 if(!yd) 800 799 return; … … 3166 3165 3167 3166 LOG(("write callback: id=%d fd=%d data=%p", id, fd, data)); 3168 if(!yid || !yid->txqueues )3167 if(!yid || !yid->txqueues || !find_conn_by_id(id)) 3169 3168 return -2; 3170 3169 … … 3842 3841 } 3843 3842 3844 3845 /* do { 3843 do { 3846 3844 yahoo_input_close(yid); 3847 } while((yid = find_input_by_id(id)));*/ 3848 3845 } while((yid = find_input_by_id(id))); 3849 3846 } 3850 3847 -
protocols/yahoo/yahoo.c
rb6cd9e9 r52df5df 454 454 struct byahoo_write_ready_data *d = data; 455 455 456 if( !byahoo_get_ic_by_id( d->id ) )457 /* WTF doesn't libyahoo clean this up? */458 return FALSE;459 460 456 yahoo_write_ready( d->id, d->fd, d->data ); 461 457
Note: See TracChangeset
for help on using the changeset viewer.