projects
/
radsecproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
326e0be
)
give an error when options that should not be repeated are
author
venaas
<venaas>
Thu, 11 Oct 2007 09:36:22 +0000
(09:36 +0000)
committer
venaas
<venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Thu, 11 Oct 2007 09:36:22 +0000
(09:36 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@184
e88ac4ed
-0b26-0410-9574-
a7f39faa03bf
radsecproxy.c
patch
|
blob
|
history
diff --git
a/radsecproxy.c
b/radsecproxy.c
index
ad89cb3
..
8997803
100644
(file)
--- a/
radsecproxy.c
+++ b/
radsecproxy.c
@@
-2511,6
+2511,8
@@
void getgeneralconfig(FILE *f, char *block, ...) {
debug(DBG_DBG, "getgeneralconfig: block %s: %s = %s", block, opt, val);
else
debug(DBG_DBG, "getgeneralconfig: %s = %s", opt, val);
+ if (*str)
+ debugx(1, DBG_ERR, "configuration error, option %s already set to %s", opt, *str);
*str = stringcopy(val, 0);
if (!*str)
debugx(1, DBG_ERR, "malloc failed");