X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=stream.cpp;h=5ea2cd03601491f8fe64070fd4b33b71f33dd4d8;hp=ab08a0f7ad85f34d458e9c41b40bbf5d7ccfe721;hb=7c26826d3c485f4f18a6c427f520dc470e68f94a;hpb=5179ad190827a75ee096f2cc92d3f0d8837eff72 diff --git a/stream.cpp b/stream.cpp index ab08a0f..5ea2cd0 100644 --- a/stream.cpp +++ b/stream.cpp @@ -111,7 +111,7 @@ void Stream::set_backlog_size(size_t new_size) // Now cheat a bit by rewinding, and adding all the old data back. bytes_received -= existing_data.size(); - add_data(existing_data.data(), existing_data.size()); + add_data_raw(existing_data.data(), existing_data.size()); } void Stream::put_client_to_sleep(Client *client)