aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoind.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-11-04 14:36:49 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-11-04 14:36:49 +0100
commite30bd78f8133fe55ff0bf9e0d6a47a58357d9056 (patch)
tree5ce93d6b2752fecb2267b967b8b34278ca17134b /src/bitcoind.cpp
parent97f844dd95c54b0fe2f2a1bb006c74ff544ff125 (diff)
No more fHaveGUI
No more specific handling of GUI in bitcoin core. Replace the last usage of fHaveGUI with a fForceServer parameter on AppInit2.
Diffstat (limited to 'src/bitcoind.cpp')
-rw-r--r--src/bitcoind.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp
index 4fd3296069..e0cf1a706a 100644
--- a/src/bitcoind.cpp
+++ b/src/bitcoind.cpp
@@ -108,7 +108,7 @@ bool AppInit(int argc, char* argv[])
#endif
detectShutdownThread = new boost::thread(boost::bind(&DetectShutdownThread, &threadGroup));
- fRet = AppInit2(threadGroup);
+ fRet = AppInit2(threadGroup, true);
}
catch (std::exception& e) {
PrintExceptionContinue(&e, "AppInit()");
@@ -142,7 +142,6 @@ extern void noui_connect();
int main(int argc, char* argv[])
{
bool fRet = false;
- fHaveGUI = false;
// Connect bitcoind signal handlers
noui_connect();