[Utils] Correct mistake in code (#455)
This commit is contained in:
parent
be0e071aba
commit
6197a3cee4
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user