Commit 123106cc authored by Per Cederqvist's avatar Per Cederqvist

(read_config): Close the config file once it is read.

parent e3a0b38f
/*
* $Id: conf-file.c,v 1.12 1999/04/19 20:09:46 ceder Exp $
* $Id: conf-file.c,v 1.13 1999/04/20 20:45:28 ceder Exp $
* Copyright (C) 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -33,7 +33,7 @@
static const char *
rcsid = "$Id: conf-file.c,v 1.12 1999/04/19 20:09:46 ceder Exp $";
rcsid = "$Id: conf-file.c,v 1.13 1999/04/20 20:45:28 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -227,6 +227,7 @@ read_config(const char *config_file,
while (configure_line(fp, par, &errs) != EOF)
;
fclose(fp);
assign_defaults(par, &errs);
if (errs)
......
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