mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 08:11:11 +00:00
wrong param
This commit is contained in:
parent
cb6a1bfb1d
commit
764b8ab7a5
2
SAM.cpp
2
SAM.cpp
@ -742,7 +742,7 @@ namespace client
|
|||||||
data[3] = ' ';
|
data[3] = ' ';
|
||||||
memcpy(data+4, base64.c_str(), bsz);
|
memcpy(data+4, base64.c_str(), bsz);
|
||||||
data[4+bsz] = '\n';
|
data[4+bsz] = '\n';
|
||||||
memcpy(data+4+bsz+1, buf, sz);
|
memcpy(data+4+bsz+1, buf, len);
|
||||||
// send to remote endpoint
|
// send to remote endpoint
|
||||||
m_Owner.SendTo(data, sz, ep);
|
m_Owner.SendTo(data, sz, ep);
|
||||||
delete [] buf;
|
delete [] buf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user