Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
bef95c60
Commit
bef95c60
authored
Mar 08, 1994
by
Per Cederqvist
Browse files
(read_config): Added missing newlines in format string to restart_kom.
parent
b2338f84
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/conf-file.c
View file @
bef95c60
/*
* $Id: conf-file.c,v 1.
5
1994/03/0
6 19:56:37
ceder Exp $
* $Id: conf-file.c,v 1.
6
1994/03/0
8 22:57:03
ceder Exp $
* Copyright (C) 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -26,7 +26,7 @@
* Read configuration files.
*/
static
char
*
rcsid
=
"$Id: conf-file.c,v 1.
5
1994/03/0
6 19:56:37
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: conf-file.c,v 1.
6
1994/03/0
8 22:57:03
ceder Exp $"
;
#include
"rcs.h"
USE
(
rcsid
);
...
...
@@ -219,14 +219,14 @@ read_config(const char *config_file,
fp
=
fopen
(
config_file
,
"r"
);
if
(
fp
==
NULL
)
restart_kom
(
"cannot open config file %s"
,
config_file
);
restart_kom
(
"cannot open config file %s
\n
"
,
config_file
);
while
(
configure_line
(
fp
,
par
,
&
errs
)
!=
EOF
)
;
assign_defaults
(
par
,
&
errs
);
if
(
errs
)
restart_kom
(
"Please fix the above errors in %s and restart lyskomd"
,
restart_kom
(
"Please fix the above errors in %s and restart lyskomd
\n
"
,
config_file
);
sfree
(
assignment_count
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment