add info logging of system id
parent
8154621527
commit
e68ab0a563
|
|
@ -42,12 +42,13 @@ bool llHashedUniqueID(unsigned char id[MD5HEX_STR_SIZE])
|
|||
hashed_unique_id.update(unique_id, MAC_ADDRESS_BYTES);
|
||||
hashed_unique_id.finalize();
|
||||
hashed_unique_id.hex_digest((char*)id);
|
||||
LL_INFOS_ONCE("AppInit") << "System ID " << id << LL_ENDL;
|
||||
}
|
||||
else
|
||||
{
|
||||
idIsUnique = false;
|
||||
memcpy(id,"00000000000000000000000000000000", MD5HEX_STR_SIZE);
|
||||
llwarns << "Failed to get an id; cannot uniquely identify this machine." << llendl;
|
||||
LL_WARNS_ONCE("AppInit") << "Failed to get an id; cannot uniquely identify this machine." << LL_ENDL;
|
||||
}
|
||||
return idIsUnique;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue