fix inverted logic
This commit is contained in:
parent
eaed8572f0
commit
ee4ecb9783
@ -200,13 +200,15 @@ int main( const int argc, const char * argv[] ) {
|
|||||||
|
|
||||||
UUID uuid_loaded, uuid_orig;
|
UUID uuid_loaded, uuid_orig;
|
||||||
hsgr_input_stream.read((char *)&uuid_loaded, sizeof(UUID));
|
hsgr_input_stream.read((char *)&uuid_loaded, sizeof(UUID));
|
||||||
if( !uuid_loaded.TestGraphUtil(uuid_orig) ) {
|
if (uuid_loaded.TestGraphUtil(uuid_orig))
|
||||||
SimpleLogger().Write(logWARNING) <<
|
{
|
||||||
".hsgr was prepared with different build. "
|
|
||||||
"Reprocess to get rid of this warning.";
|
|
||||||
} else {
|
|
||||||
SimpleLogger().Write(logDEBUG) << "UUID checked out ok";
|
SimpleLogger().Write(logDEBUG) << "UUID checked out ok";
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SimpleLogger().Write(logWARNING) << ".hsgr was prepared with different build. "
|
||||||
|
"Reprocess to get rid of this warning.";
|
||||||
|
}
|
||||||
|
|
||||||
// load checksum
|
// load checksum
|
||||||
unsigned checksum = 0;
|
unsigned checksum = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user