From c87c45090562f28eb67570039498817630d470c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20Ku=C5=9Bnierz?= Date: Mon, 1 May 2017 18:15:16 +0200 Subject: [PATCH] Fix #703 --- src/framework/net/protocol.cpp | 4 ++-- src/framework/net/protocol.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/framework/net/protocol.cpp b/src/framework/net/protocol.cpp index 4ac924c9..cfa3e62d 100644 --- a/src/framework/net/protocol.cpp +++ b/src/framework/net/protocol.cpp @@ -160,9 +160,9 @@ void Protocol::setXteaKey(uint32 a, uint32 b, uint32 c, uint32 d) m_xteaKey[3] = d; } -std::vector Protocol::getXteaKey() +std::vector Protocol::getXteaKey() { - std::vector xteaKey; + std::vector xteaKey; xteaKey.resize(4); for(int i = 0; i < 4; ++i) xteaKey[i] = m_xteaKey[i]; diff --git a/src/framework/net/protocol.h b/src/framework/net/protocol.h index 98e502ec..a3968401 100644 --- a/src/framework/net/protocol.h +++ b/src/framework/net/protocol.h @@ -49,7 +49,7 @@ public: void generateXteaKey(); void setXteaKey(uint32 a, uint32 b, uint32 c, uint32 d); - std::vector getXteaKey(); + std::vector getXteaKey(); void enableXteaEncryption() { m_xteaEncryptionEnabled = true; } void enableChecksum() { m_checksumEnabled = true; }