mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Fix an another warning.
This commit is contained in:
parent
66d40632fe
commit
174326d6c3
@ -717,7 +717,7 @@ PoolByteArray HTTPClient::read_response_body_chunk() {
|
||||
|
||||
ret.resize(chunk.size() - 2);
|
||||
PoolByteArray::Write w = ret.write();
|
||||
memcpy(w.ptr(), chunk.ptr(), chunk.size() - 2);
|
||||
memcpy(w.ptr(), chunk.ptr(), ret.size());
|
||||
chunk.clear();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user