From 19bfef36f1d93ee38ced9dd32d217328a178bb6a Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 7 Dec 2017 16:45:43 -0500 Subject: [PATCH] Build fix. --- controller/RethinkDB.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/RethinkDB.cpp b/controller/RethinkDB.cpp index b4f07f53b..a1064f37e 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 {