cleanup, Locator fix and self-test

This commit is contained in:
Adam Ierymenko 2019-08-19 15:43:15 -07:00
parent ca60d08621
commit 7650786fb5
No known key found for this signature in database
GPG key ID: 1657198823E52A61
5 changed files with 329 additions and 257 deletions

View file

@ -118,6 +118,7 @@ public:
throw ZT_EXCEPTION_OUT_OF_BOUNDS;
}
_s[l++] = *s;
++s;
}
_s[l] = 0;
_l = (uint8_t)l;