diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-05-29 12:33:17 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-05-29 14:01:39 +0200 |
commit | 53a088154ce4e1fc483afa120a9063811dd0e7ea (patch) | |
tree | 56748b1748b2bb766c00f7b3f68daf50620bc806 /src/init.cpp | |
parent | 67f43a99ae59e24a7f147a27f1d008b8c4e5fc69 (diff) | |
download | bitcoin-53a088154ce4e1fc483afa120a9063811dd0e7ea.tar.xz |
rename fNoListen to fListen and move to net
- better code readability and it belongs to net
- this is a prerequisite for a pull to add -listen to the GUI
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index bc4924b48d..06ad84af25 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -732,12 +732,12 @@ bool AppInit2(boost::thread_group& threadGroup) } // see Step 2: parameter interactions for more information about these - fNoListen = !GetBoolArg("-listen", true); + fListen = GetBoolArg("-listen", true); fDiscover = GetBoolArg("-discover", true); fNameLookup = GetBoolArg("-dns", true); bool fBound = false; - if (!fNoListen) { + if (fListen) { if (mapArgs.count("-bind")) { BOOST_FOREACH(std::string strBind, mapMultiArgs["-bind"]) { CService addrBind; |