Skip to content

Commit 5b2edc6

Browse files
committed
use correct variable
1 parent eb76597 commit 5b2edc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/server/tmpl_eval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ ssize_t _tmpl_to_type(void *out,
405405
/*
406406
* Copy the data to the buffer, and clear the alloc'd pointer.
407407
*/
408-
memcpy(buff, to_cast->vb_octets, len);
408+
memcpy(buff, from_cast->vb_octets, len);
409409
fr_value_box_clear(&value_from_cast);
410410

411411
/*

0 commit comments

Comments
 (0)