|
|
@ -212,7 +212,9 @@ namespace client |
|
|
|
// send destination first like received from I2P
|
|
|
|
// send destination first like received from I2P
|
|
|
|
std::string dest = m_Stream->GetRemoteIdentity ()->ToBase64 (); |
|
|
|
std::string dest = m_Stream->GetRemoteIdentity ()->ToBase64 (); |
|
|
|
dest += "\n"; |
|
|
|
dest += "\n"; |
|
|
|
|
|
|
|
if(sizeof(m_StreamBuffer) >= dest.size()) { |
|
|
|
memcpy (m_StreamBuffer, dest.c_str (), dest.size ()); |
|
|
|
memcpy (m_StreamBuffer, dest.c_str (), dest.size ()); |
|
|
|
|
|
|
|
} |
|
|
|
HandleStreamReceive (boost::system::error_code (), dest.size ()); |
|
|
|
HandleStreamReceive (boost::system::error_code (), dest.size ()); |
|
|
|
} |
|
|
|
} |
|
|
|
Receive (); |
|
|
|
Receive (); |
|
|
|