From 34a3f05b98059a99f67642cc4e363ef95288c647 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 18 Oct 2016 17:49:56 +0200 Subject: [PATCH] Changed: Typo --- code/ryzom/server/src/monitor_service/service_main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/ryzom/server/src/monitor_service/service_main.cpp b/code/ryzom/server/src/monitor_service/service_main.cpp index b0d491932..56ae2c1ac 100644 --- a/code/ryzom/server/src/monitor_service/service_main.cpp +++ b/code/ryzom/server/src/monitor_service/service_main.cpp @@ -380,11 +380,11 @@ void clientAuthentication(CMessage &msgin, TSockId from, CCallbackNetBase &netba if (!Clients[i]->BadLogin) // don't allow new login attempt while this flag is set { // escape login - char esccapedLogin[100]; - size_t len = mysql_real_escape_string(DatabaseConnection, esccapedLogin, login.c_str(), login.length()); + char escapedLogin[100]; + size_t len = mysql_real_escape_string(DatabaseConnection, escapedLogin, login.c_str(), login.length()); // make a db request to to db to see if password is valid - std::string queryStr = toString("SELECT Password FROM user where Login='%s'", esccapedLogin); + std::string queryStr = toString("SELECT Password FROM user where Login='%s'", escapedLogin); int result = mysql_query(DatabaseConnection, queryStr.c_str()); if (result == 0) {