projects
/
oweals
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bbedaf
)
ustream: increment receive buffer count
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jan 2013 15:32:25 +0000
(16:32 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jan 2013 15:32:49 +0000
(16:32 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ustream.c
patch
|
blob
|
history
diff --git
a/ustream.c
b/ustream.c
index 9c6180657e1e0cd746c32ac90150a507d451b0e2..719af992030e76d11529cca1c813f3ab0738e74d 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