diff options
Diffstat (limited to 'eurephiadm')
-rw-r--r-- | eurephiadm/client_context.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eurephiadm/client_context.c b/eurephiadm/client_context.c index 5f03be9..719d02c 100644 --- a/eurephiadm/client_context.c +++ b/eurephiadm/client_context.c @@ -1,6 +1,6 @@ /* client_context.c -- Handles eurephia contexts used by admin interfaces * - * GPLv2 only - Copyright (C) 2008 - 2012 + * GPLv2 only - Copyright (C) 2008 - 2013 * David Sommerseth <dazo@users.sourceforge.net> * * This program is free software; you can redistribute it and/or @@ -73,13 +73,14 @@ eurephiaCTX *eurephiaCTX_init(const char *logident, const char *log, logfile = eGet_value(cfg, "log"); if( (logfile != NULL) && (log == NULL) ) { - eurephia_log_init(ctx, logident, logfile, (loglevel > 0 ? loglevel : cfgloglvl)); + eurephia_log_init(ctx, logident, logfile, + (loglevel > 0 ? loglevel : cfgloglvl), NULL); } else { // If log file is not set in config, use input log parameter. But if // no log file is defined even here, use stderr. If no logging is wanted, it // must be defined as none: in the config file. eurephia_log_init(ctx, logident, (log != NULL ? log : "stderr:"), - (loglevel > 0 ? loglevel : cfgloglvl)); + (loglevel > 0 ? loglevel : cfgloglvl), NULL); } if( !eDBlink_init(ctx, dbdriver, 4) ) { |