diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-08-09 12:38:17 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-08-09 12:38:17 -0400 |
commit | 9f0ac16942d9f15ec57204448436cd429badf481 (patch) | |
tree | 524501c819117ba912a0cdab8528303fca234636 /src/net.cpp | |
parent | 2c3691d53d3f527638d4d9923c8a04488f459de0 (diff) |
Do-nothing MapPort() ifndef USE_UPNP. fixes #450
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp index d697788213..37adc13e14 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1143,6 +1143,11 @@ void MapPort(bool fMapPort) printf("Error: ThreadMapPort(ThreadMapPort) failed\n"); } } +#else +void MapPort(bool /* unused fMapPort */) +{ + // Intentionally left blank. +} #endif |