summaryrefslogtreecommitdiff
path: root/buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.cpp')
-rw-r--r--buffer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/buffer.cpp b/buffer.cpp
index 0c6a82a..676deae 100644
--- a/buffer.cpp
+++ b/buffer.cpp
@@ -102,6 +102,7 @@ u_int32_t Buffer::resize(u_int32_t new_length)
length_ = new_length;
buf_ = tmp;
+ return length_;
}
u_int32_t Buffer::getLength() const