diff options
author | Josh Blum | 2012-09-10 16:12:43 -0700 |
---|---|---|
committer | Josh Blum | 2012-09-10 16:12:43 -0700 |
commit | 053d2f5cdbb4027d65aa7cb8af851a9edeac1d0a (patch) | |
tree | adf2f5347509d8523f20e62ffc33f69dbe602946 /lib/block_allocator.cpp | |
parent | f26a477d4526d2abf9310b0b620c66376759d4db (diff) | |
download | sandhi-053d2f5cdbb4027d65aa7cb8af851a9edeac1d0a.tar.gz sandhi-053d2f5cdbb4027d65aa7cb8af851a9edeac1d0a.tar.bz2 sandhi-053d2f5cdbb4027d65aa7cb8af851a9edeac1d0a.zip |
remove output bytes offset, can use sbuffer's length
Diffstat (limited to 'lib/block_allocator.cpp')
-rw-r--r-- | lib/block_allocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_allocator.cpp b/lib/block_allocator.cpp index f69cd54..327a3cd 100644 --- a/lib/block_allocator.cpp +++ b/lib/block_allocator.cpp @@ -26,7 +26,7 @@ void ElementImpl::buffer_returner(const size_t index, SBuffer &buffer) { //reset offset and length buffer.offset = 0; - buffer.length = buffer.get_actual_length(); + buffer.length = 0; BufferReturnMessage message; message.index = index; |