1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 08:14:15 +00:00

fixed typo

This commit is contained in:
orignal 2015-03-27 15:50:24 -04:00
parent 4c1e12921a
commit e80d09aa17

View File

@ -411,7 +411,7 @@ namespace client
std::map<std::string, std::string> params;
ExtractParams (buf, params);
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)
{