summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Mitz <mitza@ociweb.com>2016-09-21 12:31:02 -0500
committerAdam Mitz <mitza@ociweb.com>2016-09-21 12:31:02 -0500
commit5a15f3fc7dafee50bebd5436c2585021243b885e (patch)
tree1b50b8f176ad5f487266d32b49e49acfebaf27e7
parent91dfcf284a254229c8136bbb85d3b0373d31ba35 (diff)
downloadATCD-5a15f3fc7dafee50bebd5436c2585021243b885e.tar.gz
Use env var ACE_DEBUG to set ACE::debug_ from the environment.
Looks like this was mistakenly updated to ACELIB_DEBUG when the logging statements were changed a few years ago.
-rw-r--r--ACE/ace/ACE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/ACE.cpp b/ACE/ace/ACE.cpp
index 73282bceae7..569d6bb9dab 100644
--- a/ACE/ace/ACE.cpp
+++ b/ACE/ace/ACE.cpp
@@ -164,7 +164,7 @@ ACE::nibble2hex (u_int n)
bool
ACE::debug (void)
{
- static const char* debug = ACE_OS::getenv ("ACELIB_DEBUG");
+ static const char* debug = ACE_OS::getenv ("ACE_DEBUG");
return (ACE::debug_ != 0) ? ACE::debug_ : (debug != 0 ? (*debug != '0') : false);
}