diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2006-05-26 01:20:54 +0200 | 
|---|---|---|
| committer | Jelmer Vernooij <jelmer@samba.org> | 2006-05-26 01:20:54 +0200 | 
| commit | 574af7e01a0cc738b4bbe7e903572943a85b9691 (patch) | |
| tree | 5cb2e5c58d7b0c8e77c4768d93063a14355661dc /irc.c | |
| parent | 5d9b79251c54a73a8a79b2b2aa185e8516d0b402 (diff) | |
Require GLib 2
Diffstat (limited to 'irc.c')
| -rw-r--r-- | irc.c | 4 | 
1 files changed, 0 insertions, 4 deletions
| @@ -54,13 +54,9 @@ irc_t *irc_new( int fd )  	irc->fd = fd;  	irc->io_channel = g_io_channel_unix_new( fd ); -#ifdef GLIB2  	g_io_channel_set_encoding (irc->io_channel, NULL, NULL);  	g_io_channel_set_buffered (irc->io_channel, FALSE);  	g_io_channel_set_flags( irc->io_channel, G_IO_FLAG_NONBLOCK, NULL ); -#else -	fcntl( irc->fd, F_SETFL, O_NONBLOCK); -#endif  	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 );  	irc->status = USTATUS_OFFLINE; | 
