summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2019-07-23 09:30:40 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2019-07-23 09:30:40 -0700
commit5f11daadf20cc92dc451d0fdd41dd930b2524e8a (patch)
tree930d673d183fcd81be05dd681a5cc5cf064835a3
parent99df3fe4336cdce618ffc1317af91fb82121de38 (diff)
downloadinfinitytier-5f11daadf20cc92dc451d0fdd41dd930b2524e8a.tar.gz
infinitytier-5f11daadf20cc92dc451d0fdd41dd930b2524e8a.zip
Build fix
-rw-r--r--controller/LFDB.cpp3
1 files changed, 2 insertions, 1 deletions
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()