From 5f11daadf20cc92dc451d0fdd41dd930b2524e8a Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 23 Jul 2019 09:30:40 -0700 Subject: Build fix --- controller/LFDB.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controller/LFDB.cpp b/controller/LFDB.cpp index 9404f310..826d7cba 100644 --- a/controller/LFDB.cpp +++ b/controller/LFDB.cpp @@ -108,7 +108,7 @@ LFDB::LFDB(EmbeddedNetworkController *const nc,const Identity &myId,const char * << "\"MaskingKey\":\"" << controllerAddress << "\"," << "\"Owners\":[\"" << _lfOwnerPublic << "\"]" << '}'; - auto resp = htcli.Post("/query",query.str(),"application/json"); + resp = htcli.Post("/query",query.str(),"application/json"); if (resp->status == 200) { nlohmann::json results(OSUtils::jsonParse(resp->body)); if ((results.is_array())&&(results.size() > 0)) { @@ -159,6 +159,7 @@ bool LFDB::waitForReady() while (!_ready) { std::this_thread::sleep_for(std::chrono::milliseconds(100)); } + return true; } bool LFDB::isReady() -- cgit v1.2.3