summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2010-05-25 22:24:45 +0200
committerLinus Nordberg <linus@nordberg.se>2010-05-25 22:24:45 +0200
commite6d9c6611590a0e29f86a17d3c8078b407236510 (patch)
tree7d91f032c7f3cac3e18a540d214d7bea715f3e3f /radsecproxy.c
parent40391a6afeb3bdd0e1ea91c9e0af066c4702ff47 (diff)
* radsecproxy.c (addrewrite): Add some detail to error printouts.
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 53847fb..1be5bbf 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -2456,7 +2456,7 @@ void addrewrite(char *value, char **rmattrs, char **rmvattrs, char **addattrs, c
for (i = 0; i < n; i++)
if (!(rma[i] = attrname2val(rmattrs[i])))
- debugx(1, DBG_ERR, "addrewrite: invalid attribute %s", rmattrs[i]);
+ debugx(1, DBG_ERR, "addrewrite: removing invalid attribute %s", rmattrs[i]);
freegconfmstr(rmattrs);
rma[i] = 0;
}
@@ -2469,7 +2469,7 @@ void addrewrite(char *value, char **rmattrs, char **rmvattrs, char **addattrs, c
for (p = rmva, i = 0; i < n; i++, p += 2)
if (!vattrname2val(rmvattrs[i], p, p + 1))
- debugx(1, DBG_ERR, "addrewrite: invalid vendor attribute %s", rmvattrs[i]);
+ debugx(1, DBG_ERR, "addrewrite: removing invalid vendor attribute %s", rmvattrs[i]);
freegconfmstr(rmvattrs);
*p = 0;
}
@@ -2481,7 +2481,7 @@ void addrewrite(char *value, char **rmattrs, char **rmvattrs, char **addattrs, c
for (i = 0; addattrs[i]; i++) {
a = extractattr(addattrs[i]);
if (!a)
- debugx(1, DBG_ERR, "addrewrite: invalid attribute %s", addattrs[i]);
+ debugx(1, DBG_ERR, "addrewrite: adding invalid attribute %s", addattrs[i]);
if (!list_push(adda, a))
debugx(1, DBG_ERR, "malloc failed");
}
@@ -2496,7 +2496,7 @@ void addrewrite(char *value, char **rmattrs, char **rmvattrs, char **addattrs, c
for (i = 0; addvattrs[i]; i++) {
a = extractattr(addvattrs[i]);
if (!a)
- debugx(1, DBG_ERR, "addrewrite: invalid attribute %s", addvattrs[i]);
+ debugx(1, DBG_ERR, "addrewrite: adding invalid vendor attribute %s", addvattrs[i]);
if (!list_push(adda, a))
debugx(1, DBG_ERR, "malloc failed");
}
@@ -2510,7 +2510,7 @@ void addrewrite(char *value, char **rmattrs, char **rmvattrs, char **addattrs, c
for (i = 0; modattrs[i]; i++) {
m = extractmodattr(modattrs[i]);
if (!m)
- debugx(1, DBG_ERR, "addrewrite: invalid attribute %s", modattrs[i]);
+ debugx(1, DBG_ERR, "addrewrite: modifying invalid attribute %s", modattrs[i]);
if (!list_push(moda, m))
debugx(1, DBG_ERR, "malloc failed");
}