diff options
author | jackpoz <giacomopoz@gmail.com> | 2017-11-11 20:27:30 +0100 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2017-11-11 20:27:30 +0100 |
commit | 97f33dc77945d8f284d14e0eaa994ae1405a3f20 (patch) | |
tree | 4742f93d50cc553ef3e2ba2f18b3bec1a59faec5 /src/server/authserver/Server/AuthSession.cpp | |
parent | 7e73f5f1edd8c99c3639e2a342cf044f6192fb6a (diff) |
Core/Misc: Fix static analysis issues
Diffstat (limited to 'src/server/authserver/Server/AuthSession.cpp')
-rw-r--r-- | src/server/authserver/Server/AuthSession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authserver/Server/AuthSession.cpp b/src/server/authserver/Server/AuthSession.cpp index 9d139c351e3..a5db0e37928 100644 --- a/src/server/authserver/Server/AuthSession.cpp +++ b/src/server/authserver/Server/AuthSession.cpp @@ -576,7 +576,7 @@ bool AuthSession::HandleLogonProof() PreparedStatement *stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_LOGONPROOF); stmt->setString(0, K.AsHexStr()); - stmt->setString(1, GetRemoteIpAddress().to_string().c_str()); + stmt->setString(1, GetRemoteIpAddress().to_string()); stmt->setUInt32(2, GetLocaleByName(_localizationName)); stmt->setString(3, _os); stmt->setString(4, _accountInfo.Login); |