diff --git a/I2PTunnel.cpp b/I2PTunnel.cpp index 386c0cd2..688866c8 100644 --- a/I2PTunnel.cpp +++ b/I2PTunnel.cpp @@ -696,7 +696,7 @@ namespace client if (s->m_Destination) { auto info = m_Session->m_Destination->GetInfoForRemote(s->Identity); - if(!info) + if(info) { infos.push_back(DatagramSessionInfo{ m_Name, diff --git a/Tag.h b/Tag.h index 0861cb8e..92e2f1a5 100644 --- a/Tag.h +++ b/Tag.h @@ -20,7 +20,7 @@ namespace data { { public: - Tag (const uint8_t * buf) { memcpy (m_Buf, buf, sz); }; + Tag (const uint8_t * buf) { memcpy (m_Buf, buf, sz); }; Tag (const Tag& ) = default; #ifndef _WIN32 // FIXME!!! msvs 2013 can't compile it Tag (Tag&& ) = default;