diff options
| author | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-06-29 18:56:57 +0300 |
|---|---|---|
| committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-06-29 18:56:57 +0300 |
| commit | d3d2e0be292056ff335ae7a0caf7a6407ef074ca (patch) | |
| tree | 50c227be0cd19c7cedba7360bb4950304a306d01 /indra/newview/lllogininstance.cpp | |
| parent | 05222b7a32c6e3406f1bae90664181d3699a10e8 (diff) | |
| parent | f308109fe6a96d1cb40185a4fe4f16d8e82d814a (diff) | |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/lllogininstance.cpp')
| -rw-r--r-- | indra/newview/lllogininstance.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/lllogininstance.cpp b/indra/newview/lllogininstance.cpp index 71604291e1..06f490e8e3 100644 --- a/indra/newview/lllogininstance.cpp +++ b/indra/newview/lllogininstance.cpp @@ -168,7 +168,9 @@ void LLLoginInstance::constructAuthParams(LLPointer<LLCredential> user_credentia char hashed_mac_string[MD5HEX_STR_SIZE]; /* Flawfinder: ignore */ LLMD5 hashed_mac; unsigned char MACAddress[MAC_ADDRESS_BYTES]; - LLUUID::getNodeID(MACAddress); + if(LLUUID::getNodeID(MACAddress) == 0) { + llerrs << "Failed to get node id; cannot uniquely identify this machine." << llendl; + } hashed_mac.update( MACAddress, MAC_ADDRESS_BYTES ); hashed_mac.finalize(); hashed_mac.hex_digest(hashed_mac_string); |
