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; }