Browse Source

Do-nothing MapPort() ifndef USE_UPNP. fixes #450

miguelfreitas
Gavin Andresen 13 years ago
parent
commit
9f0ac16942
  1. 5
      src/net.cpp

5
src/net.cpp

@ -1143,6 +1143,11 @@ void MapPort(bool fMapPort) @@ -1143,6 +1143,11 @@ void MapPort(bool fMapPort)
printf("Error: ThreadMapPort(ThreadMapPort) failed\n");
}
}
#else
void MapPort(bool /* unused fMapPort */)
{
// Intentionally left blank.
}
#endif

Loading…
Cancel
Save