mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 12:58:00 +03:00
fix: logic error
This commit is contained in:
@@ -210,7 +210,7 @@ int checkEnd(const std::string& str, const std::string& end)
|
|||||||
{
|
{
|
||||||
i--;
|
i--;
|
||||||
j--;
|
j--;
|
||||||
if (i < 0 || str[i] != end[j])
|
if (str[i] != end[j])
|
||||||
return (1);
|
return (1);
|
||||||
}
|
}
|
||||||
return (0);
|
return (0);
|
||||||
|
|||||||
Reference in New Issue
Block a user