mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-10 13:52:38 +02: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);
|
ret.resize(chunk.size() - 2);
|
||||||
PoolByteArray::Write w = ret.write();
|
PoolByteArray::Write w = ret.write();
|
||||||
memcpy(w.ptr(), chunk.ptr(), chunk.size() - 2);
|
memcpy(w.ptr(), chunk.ptr(), ret.size());
|
||||||
chunk.clear();
|
chunk.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user