]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use correct API
authorAlan T. DeKok <aland@freeradius.org>
Tue, 3 Oct 2023 19:32:50 +0000 (15:32 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 3 Oct 2023 19:39:46 +0000 (15:39 -0400)
src/lib/unlang/xlat_expr.c

index aea3c1706c608e524ee9a02add23bf9a35c25ec1..5d02e850055c64a49dd242562c5dc645983a0a4f 100644 (file)
@@ -413,7 +413,7 @@ static xlat_action_t xlat_binary_op(TALLOC_CTX *ctx, fr_dcursor_t *out,
                                break;
 
                        case FR_TYPE_OCTETS:
-                               fr_value_box_strdup_shallow(a, NULL, (void const *) "", false);
+                               fr_value_box_memdup_shallow(a, NULL, (void const *) "", 0, false);
                                break;
 
                        default: