Changeset 919c27c


Ignore:
Timestamp:
2006-05-14T08:41:05Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
5330e3d
Parents:
df70eafa
Message:

Fixed a little memory access bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bitlbee.c

    rdf70eafa r919c27c  
    3434#include <errno.h>
    3535
    36 static gboolean bitlbee_io_new_client( gpointer data, gint source, b_input_condition condition );
     36static gboolean bitlbee_io_new_client( gpointer data, gint fd, b_input_condition condition );
    3737
    3838int bitlbee_daemon_init()
     
    145145}
    146146
    147 gboolean bitlbee_io_current_client_read( gpointer data, gint source, b_input_condition cond )
     147gboolean bitlbee_io_current_client_read( gpointer data, gint fd, b_input_condition cond )
    148148{
    149149        irc_t *irc = data;
     
    186186        if( !g_slist_find( irc_connection_list, irc ) )
    187187        {
    188                 log_message( LOGLVL_WARNING, "Abnormal termination of connection with fd %d.", irc->fd );
     188                log_message( LOGLVL_WARNING, "Abnormal termination of connection with fd %d.", fd );
    189189                return FALSE;
    190190        }
     
    200200}
    201201
    202 gboolean bitlbee_io_current_client_write( gpointer data, gint source, b_input_condition cond )
     202gboolean bitlbee_io_current_client_write( gpointer data, gint fd, b_input_condition cond )
    203203{
    204204        irc_t *irc = data;
     
    243243}
    244244
    245 static gboolean bitlbee_io_new_client( gpointer data, gint source, b_input_condition condition )
     245static gboolean bitlbee_io_new_client( gpointer data, gint fd, b_input_condition condition )
    246246{
    247247        socklen_t size = sizeof( struct sockaddr_in );
Note: See TracChangeset for help on using the changeset viewer.