diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-04 18:59:32 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-04 18:59:32 +0000 |
commit | 3a8b3b069e34ce6c9d9050bffeb1799fc62ac24c (patch) | |
tree | 53cc9d9af2a9433ab358ed34bb4b842d590925af /ace/Naming_Context.cpp | |
parent | 2265525390efc5f385616f3b22105c83788f4d82 (diff) | |
download | ATCD-3a8b3b069e34ce6c9d9050bffeb1799fc62ac24c.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Naming_Context.cpp')
-rw-r--r-- | ace/Naming_Context.cpp | 8 |
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 (); |