From 079dc15e8e34568ef41a3938276c235d4f75ee09 Mon Sep 17 00:00:00 2001 From: slioch Date: Wed, 4 Mar 2009 17:15:29 -0800 Subject: limit unescape command to embedded multinodes--fixes problem in qos-walkthrough regression test. haven't tried it but system probably inherently prevents percents from being used in embedded multinodes. --- src/commit2.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/commit2.c b/src/commit2.c index 35f609d..0d77fb6 100644 --- a/src/commit2.c +++ b/src/commit2.c @@ -309,10 +309,14 @@ process_func(GNode *node, gpointer data) //look at parent for multi tag if (d->_value && d->_name) { + char *val = d->_name; + if (c->_def.tag) { //need to handle the embedded multinode as a special case--should be fixed! + val = (char*)clind_unescape(d->_name); + } if (g_debug) { - printf("commit2::process_func(): @ value: %s\n",(char*)clind_unescape(d->_name)); + printf("commit2::process_func(): @ value: %s\n",(char*)val); } - set_at_string((char*)clind_unescape(d->_name)); //embedded multinode value + set_at_string(val); //embedded multinode value } else { if (g_debug) { -- cgit v1.2.3