Changeset 80c1e4d


Ignore:
Timestamp:
2006-05-24T23:31:20Z (13 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
51a4ffb
Parents:
601e813
Message:

#ifdef out some Win32-incompatible code blocks

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bitlbee.c

    r601e813 r80c1e4d  
    123123                ipc_master_listen_socket();
    124124       
     125#ifndef _WIN32
    125126        if( ( fp = fopen( global.conf->pidfile, "w" ) ) )
    126127        {
     
    132133                log_message( LOGLVL_WARNING, "Warning: Couldn't write PID to `%s'", global.conf->pidfile );
    133134        }
     135#endif
    134136       
    135137        return( 0 );
     
    253255        struct sockaddr_in conn_info;
    254256        int new_socket = accept( global.listen_socket, (struct sockaddr *) &conn_info, &size );
    255         pid_t client_pid = 0;
    256257       
    257258        if( new_socket == -1 )
     
    261262        }
    262263       
     264#ifndef _WIN32
    263265        if( global.conf->runmode == RUNMODE_FORKDAEMON )
    264266        {
     267                pid_t client_pid = 0;
    265268                int fds[2];
    266269               
     
    313316        }
    314317        else
     318#endif
    315319        {
    316320                log_message( LOGLVL_INFO, "Creating new connection with fd %d.", new_socket );
  • ipc.c

    r601e813 r80c1e4d  
    417417}
    418418
     419#ifndef _WIN32
    419420char *ipc_master_save_state()
    420421{
     
    484485}
    485486
    486 #ifndef _WIN32
    487487int ipc_master_listen_socket()
    488488{
  • protocols/ssl_sspi.c

    r601e813 r80c1e4d  
    3939{
    4040        int fd;
    41         SslInputFunction func;
     41        ssl_input_function func;
    4242        gpointer data;
    4343        gboolean established;
     
    6060}
    6161
    62 void *ssl_connect( char *host, int port, SslInputFunction func, gpointer data )
     62void *ssl_connect( char *host, int port, ssl_input_function func, gpointer data )
    6363{
    6464        struct scd *conn = g_new0( struct scd, 1 );
Note: See TracChangeset for help on using the changeset viewer.