Añadido limite de caracteres para el jailerID en el marcador

This commit is contained in:
2023-02-13 12:19:06 +01:00
parent 10e9abece9
commit 9f17ffdeb3
3 changed files with 6 additions and 4 deletions

View File

@@ -579,7 +579,9 @@ std::string boolToString(bool value)
// Convierte una cadena a minusculas
std::string toLower(std::string str)
{
char *original = str.c_str();
return str;
const char *original = str.c_str();
char *lower = (char *)malloc(str.size() + 1);
for (int i = 0; i < str.size(); ++i)
{