diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-12-07 16:45:43 -0500 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-12-07 16:45:43 -0500 |
commit | 19bfef36f1d93ee38ced9dd32d217328a178bb6a (patch) | |
tree | 5e8ce96afe290eab5356f80d9152e078899df2e4 | |
parent | 8d9464c4140e5882b0fc9276388401514f29e62a (diff) | |
download | infinitytier-19bfef36f1d93ee38ced9dd32d217328a178bb6a.tar.gz infinitytier-19bfef36f1d93ee38ced9dd32d217328a178bb6a.zip |
Build fix.
-rw-r--r-- | controller/RethinkDB.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/RethinkDB.cpp b/controller/RethinkDB.cpp index b4f07f53..a1064f37 100644 --- a/controller/RethinkDB.cpp +++ b/controller/RethinkDB.cpp @@ -326,8 +326,8 @@ RethinkDB::RethinkDB(EmbeddedNetworkController *const nc,const Identity &myId,co char publicId[1024]; char secretId[1024]; char hostname[1024]; - this->_myId.toString(publicId,false); - this->_myId.toString(secretId,true); + this->_myId.toString(false,publicId); + this->_myId.toString(true,secretId); if (gethostname(hostname,sizeof(hostname)) != 0) { hostname[0] = (char)0; } else { |