From 909d3e2eb34283300016f0671b213d2d756111cf Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Thu, 8 Nov 2007 18:20:44 -0800 Subject: fix for bug 2470: set the type of variable value reference correctly according to the conversion result. --- src/cli_val_engine.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cli_val_engine.c b/src/cli_val_engine.c index 811b422..fddad4c 100644 --- a/src/cli_val_engine.c +++ b/src/cli_val_engine.c @@ -726,6 +726,9 @@ int clind_config_engine_apply_command_path(clind_path_ref cfg_path_orig, if(valarr) { int k=0; + + /* set the type */ + res->val_type = val_type; for(k=0;k