[Utils] Correct mistake in code (#455)

This commit is contained in:
Edo 2022-08-24 14:15:04 +02:00 committed by GitHub
parent be0e071aba
commit 6197a3cee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,9 +18,9 @@ namespace Utils
std::string ParseChallenge(const std::string& data)
{
auto pos = data.find_first_of("\n ");
const auto pos = data.find_first_of("\n ");
if (pos == std::string::npos) return data;
return data.substr(0, pos).data();
return data.substr(0, pos);
}
void OutputDebugLastError()