diff options
author | Matt Corallo <matt@bluematt.me> | 2011-03-26 13:01:27 +0100 |
---|---|---|
committer | Matt Corallo <matt@bluematt.me> | 2011-03-30 20:45:56 +0200 |
commit | 8bb5edc1c9054d835ef79c9f1ab3e021b0693303 (patch) | |
tree | 3f97435a0e5c512bcbafe15bb0f8a014a7b6e278 /db.cpp | |
parent | 454bc86479a387893604cd662aae994d37699672 (diff) |
Allow UPnP mapping when USE_UPNP is defined and miniupnpc is installed at build time(statically linked).
Thanks joepie91 for the translation of the new copyright notices into Dutch.
Thanks sipa for the translation of the new copyright notices into French.
Thanks megu for the translation of the new copyright notices into Spanish.
Thanks justmoon/Blitzboom for the translation of the new copyright notices into German.
Thanks Joozero for the translation of the new copyright notices into Italian.
Remaining translations were provided by Google Translate.
Diffstat (limited to 'db.cpp')
-rw-r--r-- | db.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -790,7 +790,7 @@ bool CWalletDB::LoadWallet() if (strKey == "fMinimizeOnClose") ssValue >> fMinimizeOnClose; if (strKey == "fUseProxy") ssValue >> fUseProxy; if (strKey == "addrProxy") ssValue >> addrProxy; - + if (fHaveUPnP && strKey == "fUseUPnP") ssValue >> fUseUPnP; } } pcursor->close(); @@ -807,6 +807,8 @@ bool CWalletDB::LoadWallet() printf("fMinimizeOnClose = %d\n", fMinimizeOnClose); printf("fUseProxy = %d\n", fUseProxy); printf("addrProxy = %s\n", addrProxy.ToString().c_str()); + if (fHaveUPnP) + printf("fUseUPnP = %d\n", fUseUPnP); // Upgrade |