mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
prevent race condition in datagram destination
clean up style a bit
This commit is contained in:
parent
caace05ba6
commit
c770bcbf96
4 changed files with 34 additions and 21 deletions
9
Tag.h
9
Tag.h
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue