Removed pop_back that could lead to undefined behaviour

This commit is contained in:
eidheim 2020-01-14 09:46:12 +01:00
commit f59906cc90
2 changed files with 0 additions and 2 deletions

View file

@ -656,7 +656,6 @@ namespace SimpleWeb {
std::string line;
getline(istream, line);
bytes_transferred -= line.size() + 1;
line.pop_back();
unsigned long length = 0;
try {
length = stoul(line, 0, 16);