Skip to content

Commit

Permalink
Code format - (Clang-format)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 18, 2024
1 parent 3fcc9da commit f3125a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/network/protocol/protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ void Protocol::XTEA_encrypt(OutputMessage &outputMessage) const {
XTEA_transform(buffer, messageLength, true);
}

bool Protocol::XTEA_decrypt(NetworkMessage& msg) const {
bool Protocol::XTEA_decrypt(NetworkMessage &msg) const {
uint16_t msgLength = msg.getLength() - (checksumMethod == CHECKSUM_METHOD_NONE ? 2 : 6);
if ((msgLength % 8) != 0) {
return false;
Expand Down

0 comments on commit f3125a9

Please sign in to comment.