mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-13 19:37:51 +00:00
fxied build error for VS
This commit is contained in:
parent
b9b224fdc3
commit
02256be720
@ -167,12 +167,15 @@ namespace client
|
|||||||
{
|
{
|
||||||
if (m_Service)
|
if (m_Service)
|
||||||
{
|
{
|
||||||
uint8_t k[32], t[32];
|
struct
|
||||||
memcpy (k, key, 32);
|
{
|
||||||
memcpy (t, tag, 32);
|
uint8_t k[32], t[32];
|
||||||
m_Service->post ([this,k,t](void)
|
} data;
|
||||||
|
memcpy (data.k, key, 32);
|
||||||
|
memcpy (data.t, tag, 32);
|
||||||
|
m_Service->post ([this,data](void)
|
||||||
{
|
{
|
||||||
this->AddSessionKey (k, t);
|
this->AddSessionKey (data.k, data.t);
|
||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user