aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-01-19 14:22:26 -0500
committerGavin Andresen <gavinandresen@gmail.com>2012-01-19 14:22:26 -0500
commitc55fd06b990df44df88775d3333d43ad740d726f (patch)
tree06a07d911d8a7191291f706208db2a4b34d3acb0 /src/net.cpp
parentaacefd279549c4b524def6e46f4a004bf8bb92bf (diff)
parentb985efaac1b9fbdd308284e6f756aa11e7861225 (diff)
Merge branch 'tabs-to-space' of https://github.com/larsr/bitcoin
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp
index b91a8f69c6..5aaa682131 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -969,11 +969,11 @@ void ThreadMapPort2(void* parg)
#ifndef UPNPDISCOVER_SUCCESS
/* miniupnpc 1.5 */
r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype,
- port, port, lanaddr, strDesc.c_str(), "TCP", 0);
+ port, port, lanaddr, strDesc.c_str(), "TCP", 0);
#else
/* miniupnpc 1.6 */
r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype,
- port, port, lanaddr, strDesc.c_str(), "TCP", 0, "0");
+ port, port, lanaddr, strDesc.c_str(), "TCP", 0, "0");
#endif
if(r!=UPNPCOMMAND_SUCCESS)