projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
323f690
)
Set vp_strvalue to NULL if the pair is marked for xlat
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Mon, 18 Feb 2013 19:14:39 +0000
(14:14 -0500)
committer
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Mon, 18 Feb 2013 19:14:54 +0000
(14:14 -0500)
src/lib/valuepair.c
patch
|
blob
|
history
diff --git
a/src/lib/valuepair.c
b/src/lib/valuepair.c
index
24eba99
..
e1b148e
100644
(file)
--- a/
src/lib/valuepair.c
+++ b/
src/lib/valuepair.c
@@
-1742,6
+1742,9
@@
int pairmark_xlat(VALUE_PAIR *vp, const char *value)
vp->type = VT_XLAT;
vp->value.xlat = raw;
+
+ vp->vp_strvalue[0] = '\0';
+ vp->length = 0;
return 0;
}