diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-12-24 20:35:13 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2006-12-24 20:35:13 +0100 |
commit | c227706bc921c3bb426eb315c0d097df30aa9d16 (patch) | |
tree | 1af13b2b2fd26691691e2f802ca85514b1a2b925 /unix.c | |
parent | 9225e08f377026e653e31468d53df9d328dd7951 (diff) |
Refactor the help code to take a filename rather than using the global struct.
Diffstat (limited to 'unix.c')
-rw-r--r-- | unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -111,7 +111,7 @@ int main( int argc, char *argv[], char **envp ) if( !getuid() || !geteuid() ) log_message( LOGLVL_WARNING, "BitlBee is running with root privileges. Why?" ); - if( help_init( &(global.help) ) == NULL ) + if( help_init( &(global.help), global.helpfile ) == NULL ) log_message( LOGLVL_WARNING, "Error opening helpfile %s.", HELP_FILE ); b_main_run(); |