prevent race condition in datagram destination

clean up style a bit
This commit is contained in:
Jeff Becker 2016-09-03 10:24:06 -04:00
parent caace05ba6
commit c770bcbf96
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
4 changed files with 34 additions and 21 deletions

9
Tag.h
View file

@ -51,10 +51,11 @@ namespace data {
}
/** fill with a value */
void Fill(uint8_t c) {
memset(m_Buf, c, sz);
}
void Fill(uint8_t c)
{
memset(m_Buf, c, sz);
}
std::string ToBase64 () const
{
char str[sz*2];