diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-05-15 11:26:54 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-05-15 11:26:54 +0200 |
commit | 7a685f15d0e5774467a8721eb97d059726ce792b (patch) | |
tree | 959d4816764b05d9c6730e21f6d26bf0e5c60187 /protocols | |
parent | b8b8c6c65ce89f676d269a1897e3a938895cabde (diff) |
Added correct return values for callbacks in yahoo.c.
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/yahoo/yahoo.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/protocols/yahoo/yahoo.c b/protocols/yahoo/yahoo.c index 1ce860eb..fba5dfb8 100644 --- a/protocols/yahoo/yahoo.c +++ b/protocols/yahoo/yahoo.c @@ -469,13 +469,12 @@ gboolean byahoo_read_ready_callback( gpointer data, gint source, b_input_conditi struct byahoo_read_ready_data *d = data; if( !byahoo_get_gc_by_id( d->id ) ) - { /* WTF doesn't libyahoo clean this up? */ - ext_yahoo_remove_handler( d->id, d->tag ); return FALSE; - } yahoo_read_ready( d->id, d->fd, d->data ); + + return TRUE; } struct byahoo_write_ready_data @@ -491,13 +490,12 @@ gboolean byahoo_write_ready_callback( gpointer data, gint source, b_input_condit struct byahoo_write_ready_data *d = data; if( !byahoo_get_gc_by_id( d->id ) ) - { /* WTF doesn't libyahoo clean this up? */ - ext_yahoo_remove_handler( d->id, d->tag ); return FALSE; - } yahoo_write_ready( d->id, d->fd, d->data ); + + return FALSE; } void ext_yahoo_login_response( int id, int succ, char *url ) |