diff options
| author | Philip Kaufmann <[email protected]> | 2014-05-29 12:33:17 +0200 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2015-06-27 13:44:14 +0000 |
| commit | f347f7ebb302aec549d27422e83cda55a35bc62c (patch) | |
| tree | 4e29e7df64e91a33a424fa948b8f30520d441112 /src/init.cpp | |
| parent | Update release type and copyright year (diff) | |
| download | discoin-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.cpp | 4 |
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; |