mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +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 == "")
|
||||
break;
|
||||
idx=t.find(": ");
|
||||
if(idx == std::string::npos) {
|
||||
if (idx == std::string::npos)
|
||||
{
|
||||
std::cout << "Bad header line: " << t << std::endl;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue