]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix call to value_box_asprint
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 23 Jan 2017 17:32:08 +0000 (17:32 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 23 Jan 2017 17:32:08 +0000 (17:32 +0000)
src/modules/rlm_cache/serialize.c

index 59e5f61f22a948ba7ebeb14dd4e225aa6322a4fd..7bcf06299a29b60903119b721d057c1b0f0d6b7f 100644 (file)
@@ -74,8 +74,7 @@ int cache_serialize(TALLOC_CTX *ctx, char **out, rlm_cache_entry_t const *c)
                        goto error;
                }
 
-               value = value_box_asprint(value_pool, map->rhs->tmpl_value_box_type,
-                                          map->lhs->tmpl_da, &map->rhs->tmpl_value_box, '\'');
+               value = value_box_asprint(value_pool, &map->rhs->tmpl_value_box, '\'');
                if (!value) goto error;
 
                to_store = talloc_asprintf_append_buffer(to_store, "%s %s %s\n", attr,