Codechange: replace grow() usage in ClientNetworkContentSocketHandler::OnReceiveData()

This commit is contained in:
glx 2019-05-03 16:55:11 +02:00 committed by Charles Pigott
parent d0d4fc73a7
commit 212140b88b
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,7 @@ void ClientNetworkContentSocketHandler::OnReceiveData(const char *data, size_t l
if (this->http_response_index == -1) {
if (data != nullptr) {
/* Append the rest of the response. */
memcpy(grow(this->http_response, (uint)length), data, length);
this->http_response.insert(this->http_response.end(), data, data + length);
return;
} else {
/* Make sure the response is properly terminated. */