From 0764b932676b66ffca9ffa4cc5a45ebac7d81748 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 5 Feb 2010 13:47:32 +0000 Subject: [PATCH] hivexsh: Set correct type for 'expandstring' values. --- hivex/hivexsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hivex/hivexsh.c b/hivex/hivexsh.c index 6d83f0d..51d8cfb 100644 --- a/hivex/hivexsh.c +++ b/hivex/hivexsh.c @@ -913,7 +913,7 @@ cmd_setval (char *nrvals_str) } else if (STRPREFIX (buf, "expandstring:")) { buf += 13; - values[i].t = hive_t_string; + values[i].t = hive_t_expand_string; int nr_chars = strlen (buf); values[i].len = 2 * (nr_chars + 1); values[i].value = malloc (values[i].len); -- 1.8.3.1