summaryrefslogtreecommitdiff
path: root/controller/SqliteNetworkController.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-15 18:32:25 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-15 18:32:25 -0700
commitea1859541c29bc3cafcde5ad9be131c942522c5f (patch)
treecc6aaa37552466d78a957f63bb22f71e07dbc3dd /controller/SqliteNetworkController.hpp
parentf7b1437154576ec42734de6c2b2ee4adfb1f4f6d (diff)
downloadinfinitytier-ea1859541c29bc3cafcde5ad9be131c942522c5f.tar.gz
infinitytier-ea1859541c29bc3cafcde5ad9be131c942522c5f.zip
More cleanup, and fix for the extremely unlikely case of identity collision.
Diffstat (limited to 'controller/SqliteNetworkController.hpp')
-rw-r--r--controller/SqliteNetworkController.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/SqliteNetworkController.hpp b/controller/SqliteNetworkController.hpp
index 566e97d1..5487b59a 100644
--- a/controller/SqliteNetworkController.hpp
+++ b/controller/SqliteNetworkController.hpp
@@ -49,11 +49,12 @@ public:
class DBC;
friend class SqliteNetworkController::DBC;
- SqliteNetworkController(const Identity &signingId,const char *dbPath);
+ SqliteNetworkController(const char *dbPath);
virtual ~SqliteNetworkController();
virtual NetworkController::ResultCode doNetworkConfigRequest(
const InetAddress &fromAddr,
+ const Identity &signingId,
const Identity &identity,
uint64_t nwid,
const Dictionary &metaData,
@@ -61,7 +62,6 @@ public:
Dictionary &netconf);
private:
- Identity _signingId;
std::string _dbPath;
sqlite3 *_db;