From bc19150dee5789ca4500439594147caff85e5ddd Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Fri, 11 Sep 2009 15:11:56 -0700 Subject: add support for value tags on term multinodes. used in debugging output and accounting file. --- src/common/unionfs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/unionfs.c b/src/common/unionfs.c index 6d71402..8721651 100644 --- a/src/common/unionfs.c +++ b/src/common/unionfs.c @@ -1040,7 +1040,9 @@ dlist_test_func(GQuark key_id,gpointer data,gpointer user_data) new_vn = vn; // strcat(new_vn->_data._path,"/"); strcat(new_vn->_data._path,"/value:"); - strcat(new_vn->_data._path,(char*)g_quark_to_string(key_id)); + if (vn_parent->_config._def.multi == FALSE) { + strcat(new_vn->_data._path,(char*)g_quark_to_string(key_id)); + } } new_vn->_data._value = TRUE; strcpy(new_vn->_data._name,(char*)g_quark_to_string(key_id)); -- cgit v1.2.3