]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
char **
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 4 Oct 2021 20:03:24 +0000 (15:03 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 4 Oct 2021 20:03:24 +0000 (15:03 -0500)
src/modules/rlm_rest/rlm_rest.c

index 76de11bd12894940a873776fc03d82a7c239ec4f..21b76fffc633a8e556bc8b495d1b8ddea68e3bef 100644 (file)
@@ -79,9 +79,9 @@ static int rest_proxy_parse(UNUSED TALLOC_CTX *ctx, void *out, UNUSED void *pare
        char const *value = cf_pair_value(cf_item_to_pair(ci));
 
        if (fr_table_value_by_str(disable_proxy_table, value, 0) == 1) {
-               *((char const *)out) = rest_no_proxy;
+               *((char const **)out) = rest_no_proxy;
        } else {
-               *((char const *)out) = value;
+               *((char const **)out) = value;
        }
        return 0;
 }