Changeset 832


Ignore:
Timestamp:
02/22/09 00:50:59 (3 years ago)
Author:
wd
Message:

Some dmalloc tweaks, fix a dumb server command bug.

Location:
branches/ithildin-1.1
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/ithildin-1.1/modules/ircd/commands/server.c

    r831 r832  
    232232     * and then call the server version of the SERVER command.  This is pretty 
    233233     * dirty. :/ */ 
     234    cp = cli->conn; 
     235    assert(cp != NULL); 
    234236    set_connection_protocol(cp, pp); 
    235237    if ((ret = s_server_cmd(NULL, argc, argv, cp->srv)) != 0) 
  • branches/ithildin-1.1/modules/ircd/server.c

    r831 r832  
    2929 
    3030    if (conn != NULL) { 
    31         /* remove them from whatever list they might have been in, and put them 
    32          * in our server list */ 
    3331        conn->srv = sp; 
    3432        sp->pflags = conn->proto->flags; 
  • branches/ithildin-1.1/source/main.c

    r589 r832  
    377377    } 
    378378 
     379#ifdef USE_DMALLOC 
     380    dmalloc_log_stats(); 
     381    dmalloc_log_unfreed(); 
     382#endif 
     383 
    379384    /* unload all our modules */ 
    380385    unload_all_modules(); 
     
    393398    if (me.ssl.enabled) 
    394399        ERR_free_strings(); 
     400#endif 
     401 
     402#ifdef USE_DMALLOC 
     403    dmalloc_log_stats(); 
     404    dmalloc_log_unfreed(); 
    395405#endif 
    396406 
Note: See TracChangeset for help on using the changeset viewer.