This commit is contained in:
orignal 2015-06-11 11:43:58 -04:00
commit e624cb31bd

View File

@ -101,6 +101,9 @@ namespace client
if (separator) if (separator)
{ {
separator++; separator++;
char *eol = strchr (separator, '\n');
if (eol)
*eol = 0;
std::map<std::string, std::string> params; std::map<std::string, std::string> params;
ExtractParams (separator, params); ExtractParams (separator, params);
auto it = params.find (SAM_PARAM_MAX); auto it = params.find (SAM_PARAM_MAX);