Merge #4646 from oni-link/fix.issue.4569.3

Fix for missing output (#4569, ...)
This commit is contained in:
Justin M. Keyes
2016-06-26 14:36:24 -04:00
committed by GitHub
6 changed files with 123 additions and 23 deletions

View File

@@ -15,7 +15,7 @@ RBuffer *rbuffer_new(size_t capacity)
FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_RET
{
if (!capacity) {
capacity = 0xffff;
capacity = 0x10000;
}
RBuffer *rv = xmalloc(sizeof(RBuffer) + capacity);