Permalink
Browse files

temp commit

  • Loading branch information...
1 parent 5e3b13b commit eff8532ec57cf28a8f850d44abee3855b263d236 @ahiguti committed Jan 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 libhsclient/string_buffer.hpp
@@ -84,7 +84,7 @@ struct string_buffer : private noncopyable {
}
void space_wrote(size_t len) {
len = std::min(len, alloc_size - end_offset);
- end_offset = std::min(end_offset + len, alloc_size);
+ end_offset += len;
}
template <size_t N>
void append_literal(const char (& str)[N]) {

0 comments on commit eff8532

Please sign in to comment.