mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
some cleanup
This commit is contained in:
parent
30233bed77
commit
ef2932a234
6 changed files with 10 additions and 10 deletions
4
SAM.cpp
4
SAM.cpp
|
@ -249,7 +249,7 @@ namespace stream
|
|||
m_SocketType = eSAMSocketTypeStream;
|
||||
session->sockets.push_back (this);
|
||||
m_Stream = session->localDestination->CreateNewOutgoingStream (*leaseSet);
|
||||
m_Stream->Send ((uint8_t *)m_Buffer, 0, 0); // connect
|
||||
m_Stream->Send ((uint8_t *)m_Buffer, 0); // connect
|
||||
I2PReceive ();
|
||||
SendMessageReply (SAM_STREAM_STATUS_OK, strlen(SAM_STREAM_STATUS_OK), false);
|
||||
}
|
||||
|
@ -345,7 +345,7 @@ namespace stream
|
|||
else
|
||||
{
|
||||
if (m_Stream)
|
||||
m_Stream->Send ((uint8_t *)m_Buffer, bytes_transferred, 0);
|
||||
m_Stream->Send ((uint8_t *)m_Buffer, bytes_transferred);
|
||||
Receive ();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue