Code cleanup

This commit is contained in:
Meeh 2014-03-17 23:45:25 +01:00
parent d0a8cc933b
commit 15f0f20e99

View file

@ -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;
}