Changeset 4eb4c0f for unix.c


Ignore:
Timestamp:
2008-02-16T17:15:31Z (16 years ago)
Author:
Sven Moritz Hallberg <sm@…>
Branches:
master
Children:
fd9fa52
Parents:
8961950 (diff), ca60550 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge in upstream changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • unix.c

    r8961950 r4eb4c0f  
    4848       
    4949        log_init();
    50         CONF_FILE = g_strdup( CONF_FILE_DEF );
     50        global.conf_file = g_strdup( CONF_FILE_DEF );
    5151        global.conf = conf_load( argc, argv );
    5252        if( global.conf == NULL )
     
    126126        if( !getuid() || !geteuid() )
    127127                log_message( LOGLVL_WARNING, "BitlBee is running with root privileges. Why?" );
    128         if( help_init( &(global.help), global.helpfile ) == NULL )
     128        if( help_init( &global.help, global.helpfile ) == NULL )
    129129                log_message( LOGLVL_WARNING, "Error opening helpfile %s.", HELP_FILE );
    130130       
    131131        b_main_run();
     132       
     133        /* Mainly good for restarting, to make sure we close the help.txt fd. */
     134        help_free( &global.help );
    132135       
    133136        if( global.restart )
Note: See TracChangeset for help on using the changeset viewer.