Skip to content

Commit

Permalink
Postfix for CORE-6093, thanks to Andrey Kravchenko
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPeshkoff committed Jul 9, 2019
1 parent 23fd3dc commit 0a3c2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/config/config.cpp
Expand Up @@ -786,7 +786,7 @@ static unsigned int KEY_MASK = 0xFFFF;

static inline void checkKey(unsigned int& key)
{
if (key & PARTIAL_MASK != getPartialVersion())
if ((key & PARTIAL_MASK) != getPartialVersion())
key = KEY_MASK;
else
key &= KEY_MASK;
Expand Down

0 comments on commit 0a3c2e6

Please sign in to comment.