mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Code cleanup
This commit is contained in:
@@ -88,7 +88,8 @@ void HTTPConnection::parseHeaders(const std::string& h, std::vector<header>& hm)
|
|||||||
if (t == "")
|
if (t == "")
|
||||||
break;
|
break;
|
||||||
idx=t.find(": ");
|
idx=t.find(": ");
|
||||||
if(idx == std::string::npos) {
|
if (idx == std::string::npos)
|
||||||
|
{
|
||||||
std::cout << "Bad header line: " << t << std::endl;
|
std::cout << "Bad header line: " << t << std::endl;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user