mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Build fix.
This commit is contained in:
parent
8d9464c414
commit
19bfef36f1
1 changed files with 2 additions and 2 deletions
|
@ -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(false,publicId);
|
||||||
this->_myId.toString(secretId,true);
|
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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue