From c74cb38e0915b8b26ce0319af60e342d87381a7e Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Fri, 28 Sep 2012 17:46:32 -0700 Subject: [PATCH] Do not do SNTP in standalone mode. --- src/Application.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Application.cpp b/src/Application.cpp index 00aea956aa..2011ca8e78 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -73,7 +73,8 @@ void Application::run() boost::thread auxThread(boost::bind(&boost::asio::io_service::run, &mAuxService)); auxThread.detach(); - mSNTPClient.init(theConfig.SNTP_SERVERS); + if (!theConfig.RUN_STANDALONE) + mSNTPClient.init(theConfig.SNTP_SERVERS); // // Construct databases.