mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-21 16:49:10 +01:00
Code cleanup
This commit is contained in:
parent
d0a8cc933b
commit
15f0f20e99
1 changed files with 57 additions and 56 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue