Changeset c227706 for unix.c


Ignore:
Timestamp:
2006-12-24T19:35:13Z (17 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
7bee5af
Parents:
9225e08
Message:

Refactor the help code to take a filename rather than using the global struct.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • unix.c

    r9225e08 rc227706  
    112112        if( !getuid() || !geteuid() )
    113113                log_message( LOGLVL_WARNING, "BitlBee is running with root privileges. Why?" );
    114         if( help_init( &(global.help) ) == NULL )
     114        if( help_init( &(global.help), global.helpfile ) == NULL )
    115115                log_message( LOGLVL_WARNING, "Error opening helpfile %s.", HELP_FILE );
    116116       
Note: See TracChangeset for help on using the changeset viewer.