Blocked user log fix

This commit is contained in:
root
2024-05-03 22:34:13 +02:00
parent 93e51a4eda
commit 173e03d146

View File

@ -181,7 +181,7 @@ int parseCommandPass(ftpDataType *data, int socketId)
char *theLogString[STRING_SZ_LARGE];
memset(theLogString, 0, STRING_SZ_LARGE);
snprintf(theLogString, STRING_SZ_LARGE, "An ip %s has been blacklisted due too many password errors. Trying to login as user: %s ", element.ipAddress, data->clients[socketId].clientIpAddress, data->clients[socketId].login.name.text);
snprintf(theLogString, STRING_SZ_LARGE, "An ip %s has been blacklisted due too many password errors. Trying to login as user: %s ", data->clients[socketId].clientIpAddress, data->clients[socketId].login.name.text);
addLog(theLogString, CURRENT_FILE, CURRENT_LINE, CURRENT_FUNC);
if (returnCode <= 0)