1
0
forked from GitHub/gf-core

bugfix for gu_buffered_in

This commit is contained in:
kr.angelov
2013-09-05 09:50:57 +00:00
parent cbc2ac1326
commit bb36597050

View File

@@ -371,8 +371,9 @@ gu_buffered_in(GuIn* in, size_t buf_sz, GuPool* pool)
.end_buffer = gu_buffered_in_end_buffer,
.input = gu_buffered_in_input
};
bis->have = bis->curr = 0;
bis->alloc = buf_sz;
bis->have = bis->curr = 0;
bis->in = in;
return gu_new_in(&bis->stream, pool);
}