- Timestamp:
- 2006-05-25T23:20:54Z (18 years ago)
- Branches:
- master
- Children:
- 79b6213
- Parents:
- 5d9b792
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r5d9b792 r574af7e 55 55 irc->fd = fd; 56 56 irc->io_channel = g_io_channel_unix_new( fd ); 57 #ifdef GLIB258 57 g_io_channel_set_encoding (irc->io_channel, NULL, NULL); 59 58 g_io_channel_set_buffered (irc->io_channel, FALSE); 60 59 g_io_channel_set_flags( irc->io_channel, G_IO_FLAG_NONBLOCK, NULL ); 61 #else62 fcntl( irc->fd, F_SETFL, O_NONBLOCK);63 #endif64 60 irc->r_watch_source_id = g_io_add_watch( irc->io_channel, G_IO_IN | G_IO_ERR | G_IO_HUP, bitlbee_io_current_client_read, irc ); 65 61
Note: See TracChangeset
for help on using the changeset viewer.