Browse Source

fixed typo

pull/170/head
orignal 10 years ago
parent
commit
e80d09aa17
  1. 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…
Cancel
Save