projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c890e38
)
cf_log_err(), not fr_strerror_printf()
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 28 Mar 2017 19:43:38 +0000
(15:43 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 28 Mar 2017 19:43:38 +0000
(15:43 -0400)
src/main/modcall.c
patch
|
blob
|
history
diff --git
a/src/main/modcall.c
b/src/main/modcall.c
index
b3dd3f0
..
594c2f7
100644
(file)
--- a/
src/main/modcall.c
+++ b/
src/main/modcall.c
@@
-1684,9
+1684,9
@@
int modcall_fixup_update(vp_map_t *map, UNUSED void *ctx)
da = dict_attrbytype(map->lhs->tmpl_da->attr, map->lhs->tmpl_da->vendor,
map->rhs->tmpl_data_type);
if (!da) {
da = dict_attrbytype(map->lhs->tmpl_da->attr, map->lhs->tmpl_da->vendor,
map->rhs->tmpl_data_type);
if (!da) {
-
fr_strerror_printf(
"Cannot find %s variant of attribute \"%s\"",
-
fr_int2str(dict_attr_types, map->rhs->tmpl_data_type,
- "<INVALID>"), map->lhs->tmpl_da->name);
+
cf_log_err(map->ci,
"Cannot find %s variant of attribute \"%s\"",
+ fr_int2str(dict_attr_types, map->rhs->tmpl_data_type,
+
"<INVALID>"), map->lhs->tmpl_da->name);
return -1;
}
map->lhs->tmpl_da = da;
return -1;
}
map->lhs->tmpl_da = da;