Minor changes based on cppcheck output.

This commit is contained in:
EinMByte 2015-07-16 18:02:19 +02:00
parent 62ac53563c
commit 4ce7b0e9ef
6 changed files with 10 additions and 5 deletions

View file

@ -472,7 +472,7 @@ namespace http
try{
port_ = boost::lexical_cast<decltype(port_)>(portstr_);
}
catch (std::exception e) {
catch (const std::exception& e) {
port_ = 80;
}
}