mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 12:47:48 +02:00
Minor changes based on cppcheck output.
This commit is contained in:
parent
62ac53563c
commit
4ce7b0e9ef
6 changed files with 10 additions and 5 deletions
2
util.cpp
2
util.cpp
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue