summaryrefslogtreecommitdiff
path: root/ace/Naming_Context.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-09-04 18:59:32 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-09-04 18:59:32 +0000
commit3a8b3b069e34ce6c9d9050bffeb1799fc62ac24c (patch)
tree53cc9d9af2a9433ab358ed34bb4b842d590925af /ace/Naming_Context.cpp
parent2265525390efc5f385616f3b22105c83788f4d82 (diff)
downloadATCD-3a8b3b069e34ce6c9d9050bffeb1799fc62ac24c.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Naming_Context.cpp')
-rw-r--r--ace/Naming_Context.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/ace/Naming_Context.cpp b/ace/Naming_Context.cpp
index 50c8befc473..9eeae9e3e6a 100644
--- a/ace/Naming_Context.cpp
+++ b/ace/Naming_Context.cpp
@@ -345,7 +345,9 @@ ACE_Naming_Context::dump ()
int
ACE_Naming_Context::init (int argc, char *argv[])
{
- ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("ACE_Naming_Context::init\n")));
+ if (ACE::debug ())
+ ACE_DEBUG ((LM_DEBUG,
+ ASYS_TEXT ("ACE_Naming_Context::init\n")));
this->name_options_->parse_args (argc, argv);
return this->open (this->name_options_->context ());
}
@@ -353,7 +355,9 @@ ACE_Naming_Context::init (int argc, char *argv[])
int
ACE_Naming_Context::fini (void)
{
- ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("ACE_Naming_Context::fini\n")));
+ if (ACE::debug ())
+ ACE_DEBUG ((LM_DEBUG,
+ ASYS_TEXT ("ACE_Naming_Context::fini\n")));
this->close_down ();