summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Mitz <mitza@ociweb.com>2016-09-22 16:10:09 -0500
committerGitHub <noreply@github.com>2016-09-22 16:10:09 -0500
commit688a39c1edaa36714a33c088cb3d6b0273796534 (patch)
treef25ec86ef07808876843a411d418fe27d1ff7097
parent92223acba96ee86841a52297a656bcde1fa4fb11 (diff)
parente573d3d883eb53b4713e467dc611127a28ac4112 (diff)
downloadATCD-688a39c1edaa36714a33c088cb3d6b0273796534.tar.gz
Merge pull request #297 from mitza-oci/master
Use env var ACE_DEBUG to set ACE::debug_ from the environment.
-rw-r--r--ACE/ace/ACE.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ACE/ace/ACE.cpp b/ACE/ace/ACE.cpp
index 73282bceae7..d2812fe45d2 100644
--- a/ACE/ace/ACE.cpp
+++ b/ACE/ace/ACE.cpp
@@ -164,7 +164,9 @@ ACE::nibble2hex (u_int n)
bool
ACE::debug (void)
{
- static const char* debug = ACE_OS::getenv ("ACELIB_DEBUG");
+ //FUZZ: disable check_for_ace_log_categories
+ static const char *debug = ACE_OS::getenv ("ACE_DEBUG");
+ //FUZZ: enable check_for_ace_log_categories
return (ACE::debug_ != 0) ? ACE::debug_ : (debug != 0 ? (*debug != '0') : false);
}