Changeset e046390 for lib/events_libevent.c
- Timestamp:
- 2009-10-10T23:25:54Z (15 years ago)
- Branches:
- master
- Children:
- c5c18c1
- Parents:
- 0cbef26
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/events_libevent.c
r0cbef26 re046390 126 126 { 127 127 if( event & EV_READ ) 128 cond |= GAIM_INPUT_READ;128 cond |= B_EV_IO_READ; 129 129 if( event & EV_WRITE ) 130 cond |= GAIM_INPUT_WRITE;130 cond |= B_EV_IO_WRITE; 131 131 } 132 132 … … 174 174 event_debug( "b_input_add( %d, %d, 0x%x, 0x%x ) ", fd, condition, function, data ); 175 175 176 if( ( condition & GAIM_INPUT_READ && ( b_ev = g_hash_table_lookup( read_hash, &fd ) ) ) ||177 ( condition & GAIM_INPUT_WRITE && ( b_ev = g_hash_table_lookup( write_hash, &fd ) ) ) )176 if( ( condition & B_EV_IO_READ && ( b_ev = g_hash_table_lookup( read_hash, &fd ) ) ) || 177 ( condition & B_EV_IO_WRITE && ( b_ev = g_hash_table_lookup( write_hash, &fd ) ) ) ) 178 178 { 179 179 /* We'll stick with this libevent entry, but give it a new BitlBee id. */ … … 198 198 199 199 out_cond = EV_PERSIST; 200 if( condition & GAIM_INPUT_READ )200 if( condition & B_EV_IO_READ ) 201 201 out_cond |= EV_READ; 202 if( condition & GAIM_INPUT_WRITE )202 if( condition & B_EV_IO_WRITE ) 203 203 out_cond |= EV_WRITE; 204 204
Note: See TracChangeset
for help on using the changeset viewer.