Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-03 19:32:25 +0400
committerFelix Fietkau <nbd@openwrt.org>2013-01-03 19:32:49 +0400
commit8686989fffaf8041889edbe5319581bc0fa8c847 (patch)
tree21a50ccaa599eae3881a805c237378221cb0d7ac /ustream.c
parent5bbedafe09b9ab1de9c8ec1e73e2b936726b63d4 (diff)
ustream: increment receive buffer count
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'ustream.c')
-rw-r--r--ustream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ustream.c b/ustream.c
index 9c61806..719af99 100644
--- 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