diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2019-02-06 15:53:14 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2019-02-06 15:53:14 -0500 |
commit | e449ad4544afc1ceb9b1bbbc0798af6faadbc760 (patch) | |
tree | 03d10afa3850c514cb864924a36aa63357b61895 /indra/llmessage/tests/commtest.h | |
parent | 2d3b805b949a294d3f298eb3d786aac777ebb51e (diff) | |
parent | 0d27cb37bfea618896b0b4c5a422880e1a882210 (diff) |
Automated merge with ssh://bitbucket.org/lindenlab/vir-fixes
Diffstat (limited to 'indra/llmessage/tests/commtest.h')
-rw-r--r-- | indra/llmessage/tests/commtest.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/indra/llmessage/tests/commtest.h b/indra/llmessage/tests/commtest.h index 7c8f27bbd2..0359eba803 100644 --- a/indra/llmessage/tests/commtest.h +++ b/indra/llmessage/tests/commtest.h @@ -34,6 +34,7 @@ #include "llsd.h" #include "llhost.h" #include "llexception.h" +#include "llstring.h" #include "stringize.h" #include <map> #include <string> @@ -46,12 +47,7 @@ struct CommtestError: public LLException static bool query_verbose() { - const char* cbose = getenv("INTEGRATION_TEST_VERBOSE"); - if (! cbose) - { - cbose = "1"; - } - std::string strbose(cbose); + std::string strbose(LLStringUtil::getenv("INTEGRATION_TEST_VERBOSE", "1")); return (! (strbose == "0" || strbose == "off" || strbose == "false" || strbose == "quiet")); } |