summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolplacer.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-12-21 08:52:39 -0500
committerNat Goodspeed <nat@lindenlab.com>2012-12-21 08:52:39 -0500
commit747784a9b1abb3ea85abb9fcc05981992be6f485 (patch)
tree97de71f265a463dcedaac62adce47349701a940f /indra/newview/lltoolplacer.cpp
parentab23506eb1d6a8435177a8e0b10331a5f03cff15 (diff)
MAINT-2168: fail with real message if required var PORT not set.
llhttpclient_test.cpp is only supposed to be run by test_llsdmessage_peer.py, as specified in llmessage/CMakeLists.txt. test_llsdmessage_peer.py sets the environment variable PORT before running INTEGRATION_TEST_llhttpclient. While it's not yet clear under what circumstances INTEGRATION_TEST_llhttpclient could find PORT not set (getenv() returning NULL), it's obvious that in that case, the previous code might well crash. Make it at least fail with an explanatory message rather than a mysterious large negative integer. In theory, occurrences of that message could help us solve the underlying issue.
Diffstat (limited to 'indra/newview/lltoolplacer.cpp')
0 files changed, 0 insertions, 0 deletions