aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2014-05-29 12:33:17 +0200
committerRoss Nicoll <[email protected]>2015-06-27 13:44:14 +0000
commitf347f7ebb302aec549d27422e83cda55a35bc62c (patch)
tree4e29e7df64e91a33a424fa948b8f30520d441112 /src/init.cpp
parentUpdate release type and copyright year (diff)
downloaddiscoin-f347f7ebb302aec549d27422e83cda55a35bc62c.tar.xz
discoin-f347f7ebb302aec549d27422e83cda55a35bc62c.zip
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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 1737bb069..441743258 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -787,12 +787,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;