Browse Source

fixed build error

pull/59/head
orignal 11 years ago
parent
commit
ff10dfa161
  1. 2
      util.cpp

2
util.cpp

@ -272,7 +272,7 @@ namespace http @@ -272,7 +272,7 @@ namespace http
back_inserter(host_),
std::ptr_fun<int,int>(tolower)); // host is icase
std::string::const_iterator port_i = find(host_.begin(), host_.end(), ':');
auto port_i = find(host_.begin(), host_.end(), ':');
if (port_i != host_.end())
{
port_ = std::stoi(std::string(port_i + 1, host_.end()));

Loading…
Cancel
Save