aboutsummaryrefslogtreecommitdiffstats
path: root/unix.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-12-24 20:35:13 +0100
committerJelmer Vernooij <jelmer@samba.org>2006-12-24 20:35:13 +0100
commitc227706bc921c3bb426eb315c0d097df30aa9d16 (patch)
tree1af13b2b2fd26691691e2f802ca85514b1a2b925 /unix.c
parent9225e08f377026e653e31468d53df9d328dd7951 (diff)
Refactor the help code to take a filename rather than using the global struct.
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix.c b/unix.c
index 23ae1b91..2be16b2b 100644
--- a/unix.c
+++ b/unix.c
@@ -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();