projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ustream: increment receive buffer count
[project/libubox.git]
/
ustream.c
diff --git
a/ustream.c
b/ustream.c
index
9c61806
..
719af99
100644
(file)
--- a/
ustream.c
+++ b/
ustream.c
@@
-37,6
+37,7
@@
static void ustream_init_buf(struct ustream_buf *buf, int len)
static void ustream_add_buf(struct ustream_buf_list *l, struct ustream_buf *buf)
{
+ l->buffers++;
if (!l->tail)
l->head = buf;
else