Skip to content

Commit

Permalink
UPnP: fix typos that broke build.
Browse files Browse the repository at this point in the history
  • Loading branch information
anonimal committed May 7, 2016
1 parent 243bb25 commit 4436f08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/transport/UPnP.cpp
Expand Up @@ -272,7 +272,7 @@ void UPnP::Discover() {
void UPnP::TryPortMapping(
int type,
int port) {
std::string strType,
std::string strType;
std::string strPort(std::to_string(port));
switch (type) {
case I2P_UPNP_TCP:
Expand Down Expand Up @@ -311,7 +311,7 @@ void UPnP::TryPortMapping(
"0");
#endif
if (r != UPNPCOMMAND_SUCCESS) {
LogPrint(eLogError
LogPrint(eLogError,
"UPnP: AddPortMapping (", strPort.c_str(),
", ", strPort.c_str(),
", ", m_NetworkAddr,
Expand Down

0 comments on commit 4436f08

Please sign in to comment.