projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8fe8f5
)
Remove call to pairdatacpy()
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 11 Dec 2014 16:06:25 +0000
(11:06 -0500)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 11 Dec 2014 16:06:25 +0000
(11:06 -0500)
src/main/tmpl.c
patch
|
blob
|
history
diff --git
a/src/main/tmpl.c
b/src/main/tmpl.c
index
eb89085
..
a2d894a
100644
(file)
--- a/
src/main/tmpl.c
+++ b/
src/main/tmpl.c
@@
-1382,7
+1382,8
@@
int tmpl_cast_to_vp(VALUE_PAIR **out, REQUEST *request,
if (vpt->type == TMPL_TYPE_DATA) {
VERIFY_VP(vp);
rad_assert(vp->da->type == vpt->tmpl_data_type);
- pairdatacpy(vp, vpt->tmpl_data_type, &vpt->tmpl_data_value, vpt->tmpl_data_length);
+
+ value_data_copy(vp, &vp->data, vpt->tmpl_data_type, &vpt->tmpl_data_value, vpt->tmpl_data_length);
*out = vp;
return 0;
}