diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-13 10:51:05 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-13 10:51:05 -0700 |
| commit | 495c5ce81ddb245e21f21325927236d0f666f6cf (patch) | |
| tree | 9314e377e7189cf8ccc52ed8b6ff5103a8a58f8f /node/Identity.cpp | |
| parent | dab0fb9e05677bdc6294f196fcf8234892c582c1 (diff) | |
| download | infinitytier-495c5ce81ddb245e21f21325927236d0f666f6cf.tar.gz infinitytier-495c5ce81ddb245e21f21325927236d0f666f6cf.zip | |
Bunch of remote tracing work.
Diffstat (limited to 'node/Identity.cpp')
| -rw-r--r-- | node/Identity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Identity.cpp b/node/Identity.cpp index 3b00b4c0..dba27d1c 100644 --- a/node/Identity.cpp +++ b/node/Identity.cpp @@ -151,7 +151,7 @@ char *Identity::toString(bool includePrivate,char buf[ZT_IDENTITY_STRING_BUFFER_ Utils::hex(_privateKey->data,ZT_C25519_PRIVATE_KEY_LEN,p); p += ZT_C25519_PRIVATE_KEY_LEN * 2; } - *(p++) = (char)0; + *p = (char)0; return buf; } |
