From 9ff06c2408d228c52066574110e51598f3e7fcf6 Mon Sep 17 00:00:00 2001 From: Craig Dowell Date: Mon, 28 Sep 2009 20:18:49 -0700 Subject: [PATCH] fix name service unit test --- src/core/names.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/names.cc b/src/core/names.cc index 0dd1aff8b..6fe99b6c9 100644 --- a/src/core/names.cc +++ b/src/core/names.cc @@ -130,6 +130,7 @@ NamesPriv::~NamesPriv () { NS_LOG_FUNCTION_NOARGS (); Clear (); + m_root.m_name = ""; } void @@ -148,7 +149,7 @@ NamesPriv::Clear (void) m_objectMap.clear (); m_root.m_parent = 0; - m_root.m_name = ""; + m_root.m_name = "Names"; m_root.m_object = 0; m_root.m_nameMap.clear (); }