projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5179ad1
)
When unwrapping in set_backlog_size, do not add a spurious Metacube header.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sat, 20 Apr 2013 12:25:24 +0000
(14:25 +0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sat, 20 Apr 2013 12:25:24 +0000
(14:25 +0200)
stream.cpp
patch
|
blob
|
history
diff --git
a/stream.cpp
b/stream.cpp
index
ab08a0f
..
5ea2cd0
100644
(file)
--- 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)