Changeset bbb6ffb


Ignore:
Timestamp:
2006-10-31T08:35:36Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
dfc8a46
Parents:
6237ded
Message:

Disabling little optimization in irc.c because it can't be done safely in
this part of the code for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r6237ded rbbb6ffb  
    585585                   the queue. If it's FALSE, we emptied the buffer and saved ourselves some work
    586586                   in the event queue. */
    587                 if( bitlbee_io_current_client_write( irc, irc->fd, GAIM_INPUT_WRITE ) )
    588                         irc->w_watch_source_id = b_input_add( irc->fd, GAIM_INPUT_WRITE, bitlbee_io_current_client_write, irc );
     587                /* Really can't be done as long as the code doesn't do error checking very well:
     588                if( bitlbee_io_current_client_write( irc, irc->fd, GAIM_INPUT_WRITE ) ) */
     589               
     590                /* So just always do it via the event handler. */
     591                irc->w_watch_source_id = b_input_add( irc->fd, GAIM_INPUT_WRITE, bitlbee_io_current_client_write, irc );
    589592        }
    590593       
Note: See TracChangeset for help on using the changeset viewer.