summaryrefslogtreecommitdiff
path: root/controller
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-05-11 14:26:46 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-05-11 14:26:46 -0700
commit236a952458a547e71390c2b846ef1ee52ffc52a8 (patch)
tree6e736450adab86d02b5c7432ddf8007ff1c0390c /controller
parent426b7c2c767e797f586d38870f5e737b5cc9ba14 (diff)
downloadinfinitytier-236a952458a547e71390c2b846ef1ee52ffc52a8.tar.gz
infinitytier-236a952458a547e71390c2b846ef1ee52ffc52a8.zip
typo
Diffstat (limited to 'controller')
-rw-r--r--controller/JSONDB.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/JSONDB.cpp b/controller/JSONDB.cpp
index 3b98a7ac..e0dd1742 100644
--- a/controller/JSONDB.cpp
+++ b/controller/JSONDB.cpp
@@ -392,7 +392,7 @@ bool JSONDB::_load(const std::string &p)
std::string objtype(OSUtils::jsonString(j["objtype"],""));
if ((id.length() == 16)&&(objtype == "network")) {
- const uint64_t nwid = Utils::hexStrToU64(const char *s)(id.c_str());
+ const uint64_t nwid = Utils::hexStrToU64(id.c_str());
if (nwid) {
Mutex::Lock _l(_networks_m);
_networks[nwid].config = nlohmann::json::to_msgpack(j);