Commit 70440b39 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(read_configuration): Handle aux_def_file just like all the other file names.

parent c50b85bf
/*
* $Id: server-config.c,v 0.47 1998/08/07 23:15:07 ceder Exp $
* $Id: server-config.c,v 0.48 1998/08/07 23:47:42 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -32,7 +32,7 @@
*/
static const char *
rcsid = "$Id: server-config.c,v 0.47 1998/08/07 23:15:07 ceder Exp $";
rcsid = "$Id: server-config.c,v 0.48 1998/08/07 23:47:42 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -370,6 +370,7 @@ read_configuration(const char *conf_file)
assert(param.pid_name != NULL);
assert(param.memuse_name != NULL);
assert(param.logfile_name != NULL);
assert(param.aux_def_file != NULL);
assert(param.core_dir != NULL);
if (strlen(param.dbase_dir) > 0)
......@@ -388,6 +389,7 @@ read_configuration(const char *conf_file)
add_prefix(&param.pid_name);
add_prefix(&param.memuse_name);
add_prefix(&param.logfile_name);
add_prefix(&param.aux_def_file);
add_prefix(&param.core_dir);
}
else
......@@ -400,6 +402,7 @@ read_configuration(const char *conf_file)
err |= check_abs_path(&param.pid_name);
err |= check_abs_path(&param.memuse_name);
err |= check_abs_path(&param.logfile_name);
err |= check_abs_path(&param.aux_def_file);
err |= check_abs_path(&param.core_dir);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment