Changeset 576d6d7


Ignore:
Timestamp:
2005-11-07T18:39:57Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2095c57
Parents:
fe51bcf
Message:

Got rid of some debugging code we tried to use to track the 100% CPU bug.
Turned out it was very suitable DoS code. :-)

Files:
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rfe51bcf r576d6d7  
    1010
    1111# Program variables
    12 objects = account.o bitlbee.o commands.o conf.o crypting.o help.o ini.o irc.o log.o nick.o query.o set.o unix.o url.o user.o debug.o
     12objects = account.o bitlbee.o commands.o conf.o crypting.o help.o ini.o irc.o log.o nick.o query.o set.o unix.o url.o user.o
    1313subdirs = protocols
    1414
  • bitlbee.c

    rfe51bcf r576d6d7  
    4141                                     &size );
    4242       
    43         count_io_event(source, "main");
    44        
    4543        log_message( LOGLVL_INFO, "Creating new connection with fd %d.", new_socket );
    4644        irc_new( new_socket );
     
    125123        int st;
    126124       
    127         count_io_event(source, "main");
    128 
    129125        if( condition & G_IO_ERR || condition & G_IO_HUP )
    130126        {
     
    181177        time_t newtime;
    182178#endif
    183 
    184         count_io_event(source, "main");
    185179
    186180#ifdef FLOOD_SEND       
  • bitlbee.h

    rfe51bcf r576d6d7  
    107107#include "help.h"
    108108#include "query.h"
    109 #include "debug.h"
    110109#include "sock.h"
    111110
  • commands.c

    rfe51bcf r576d6d7  
    5252        { "import_buddies", 1, cmd_import_buddies },
    5353        { "qlist",          0, cmd_qlist },
    54         { "dump",           0, cmd_dump },
    5554        { NULL }
    5655};
     
    796795        return( 0 );
    797796}
    798 
    799 int cmd_dump( irc_t *irc, char **cmd ) {
    800         write_io_activity();
    801         irc_usermsg(irc, "Wrote GIO activity log to disk.");   
    802        
    803         return( 0 );
    804 }
  • protocols/proxy.c

    rfe51bcf r576d6d7  
    164164#endif
    165165       
    166         count_io_event(source, "proxy");
    167        
    168166        if (condition & GAIM_READ_COND)
    169167                gaim_cond |= GAIM_INPUT_READ;
Note: See TracChangeset for help on using the changeset viewer.