1
0

Fixed mistake

This commit is contained in:
daniel0916 2014-04-13 17:09:18 +02:00
parent d258be678a
commit 2618569e01
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ bool cAuthenticator::AuthWithYggdrasil(AString & a_UserName, const AString & a_S
{
AString REQUEST;
int ret, server_fd = -1;
size_t len = -1;
size_t len = 0;
unsigned char buf[1024];
const char *pers = "cAuthenticator";

View File

@ -1559,7 +1559,7 @@ void cProtocol172::HandlePacketLoginEncryptionResponse(cByteBuffer & a_ByteBuffe
// Send login success:
{
cPacketizer Pkt(*this, 0x02); // Login success packet
Pkt.WriteString(Printf("%d", m_Client->GetUniqueID())); // TODO: proper UUID
Pkt.WriteString(m_Client->GetUUID());
Pkt.WriteString(m_Client->GetUsername());
}