mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 11:04:00 +01:00
fixed typo
This commit is contained in:
parent
4c1e12921a
commit
e80d09aa17
2
SAM.cpp
2
SAM.cpp
|
@ -411,7 +411,7 @@ namespace client
|
||||||
std::map<std::string, std::string> params;
|
std::map<std::string, std::string> params;
|
||||||
ExtractParams (buf, params);
|
ExtractParams (buf, params);
|
||||||
size_t size = boost::lexical_cast<int>(params[SAM_PARAM_SIZE]), offset = data - buf;
|
size_t size = boost::lexical_cast<int>(params[SAM_PARAM_SIZE]), offset = data - buf;
|
||||||
if (offset + size < len)
|
if (offset + size <= len)
|
||||||
{
|
{
|
||||||
if (m_Session)
|
if (m_Session)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue