Skip to content

CClientLog.cpp #255

@Skul83

Description

@Skul83

Missing brackets for the IF statement in CClientLog.cpp

BYTE CClient::Login_ServerList(LPCTSTR pszAccount, LPCTSTR pszPassword) { ADDTOCALLSTACK("CClient::Login_ServerList"); // PACKET_ServersReq // Initial login (Login on "loginserver", new format)

CGString sMsg;
BYTE bResult = LogIn(pszAccount, pszPassword, sMsg);
if (bResult != PacketLoginError::Success)
{               // <--- missing a bracket here
    return bResult;
}               // <--- and missing a bracket here
m_Targ_Mode = CLIMODE_SETUP_SERVERS;
new PacketServerList(this);
return PacketLoginError::Success;

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions