Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • unix.c

    r7b23afd r21d09ac  
    3636
    3737static void sighandler( int signal );
    38 gboolean bitlbee_dirty_workaround( gpointer data );
    3938
    4039int main( int argc, char *argv[] )
     
    4847       
    4948        log_init( );
    50 
    51         nogaim_init();
    52 
     49        nogaim_init( );
     50       
    5351        CONF_FILE = g_strdup( CONF_FILE_DEF );
    5452       
     
    9694                log_message( LOGLVL_WARNING, "Error opening helpfile %s.", HELP_FILE );
    9795       
    98         /* Workaround against runaway problems. Bah, this is really dirty,
    99            but in the end not really different from the <=0.91 situation,
    100            which makes it an acceptable temporary "solution". */
    101         // g_timeout_add( 0, bitlbee_dirty_workaround, NULL );
    102        
    10396        g_main_run( global.loop );
    10497       
    10598        return( 0 );
    10699}
    107 
    108 gboolean bitlbee_dirty_workaround( gpointer data )
    109 {
    110         usleep( 50000 );
    111         return( TRUE );
    112 }
    113 
    114 void proxyprofiler_dump();
    115100
    116101static void sighandler( int signal )
     
    142127                }
    143128        }
    144 #ifdef PROXYPROFILER
    145         else if( signal == SIGXCPU )
    146         {
    147                 write_io_activity();
    148                 proxyprofiler_dump();
    149                 log_message( LOGLVL_ERROR, "Received SIGXCPU, dumping some debugging info." );
    150                 exit( 1 );
    151         }
    152 #endif
    153129        else if( signal != SIGPIPE )
    154130        {
Note: See TracChangeset for help on using the changeset viewer.