]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Typo
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 8 Feb 2021 22:46:21 +0000 (22:46 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 8 Feb 2021 22:46:21 +0000 (22:46 +0000)
src/lib/util/value.c

index 13443897f64857c7a9df4a12e3d1508950b9becf..6b38f8aeff5476fd25155bf7f1d68aea68cc37b5 100644 (file)
@@ -3359,7 +3359,7 @@ int fr_value_box_strtrim(TALLOC_CTX *ctx, fr_value_box_t *vb)
        if (!fr_cond_assert(vb->type == FR_TYPE_STRING)) return -1;
 
        len = strlen(vb->vb_strvalue);
-       str = talloc_realloc(ctx, UNCONST(char *, &vb->vb_strvalue), char, len + 1);
+       str = talloc_realloc(ctx, UNCONST(char *, vb->vb_strvalue), char, len + 1);
        if (!str) {
                fr_strerror_const("Failed re-allocing string buffer");
                return -1;