瀏覽代碼

Build fix.

Adam Ierymenko 7 年之前
父節點
當前提交
19bfef36f1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      controller/RethinkDB.cpp

+ 2 - 2
controller/RethinkDB.cpp

@@ -326,8 +326,8 @@ RethinkDB::RethinkDB(EmbeddedNetworkController *const nc,const Identity &myId,co
 				char publicId[1024];
 				char publicId[1024];
 				char secretId[1024];
 				char secretId[1024];
 				char hostname[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) {
 				if (gethostname(hostname,sizeof(hostname)) != 0) {
 					hostname[0] = (char)0;
 					hostname[0] = (char)0;
 				} else {
 				} else {