Browse Source

Code cleanup

pull/46/head
Meeh 11 years ago
parent
commit
15f0f20e99
  1. 3
      HTTPProxy.cpp

3
HTTPProxy.cpp

@ -88,7 +88,8 @@ void HTTPConnection::parseHeaders(const std::string& h, std::vector<header>& hm) @@ -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…
Cancel
Save