projects
/
project
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15ce776
)
ustream: fix variable initialization
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 29 Oct 2012 22:11:08 +0000
(23:11 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 29 Oct 2012 22:11:08 +0000
(23:11 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ustream.c
patch
|
blob
|
history
diff --git
a/ustream.c
b/ustream.c
index
3295417
..
ed4fbb3
100644
(file)
--- a/
ustream.c
+++ b/
ustream.c
@@
-403,7
+403,7
@@
static int ustream_write_buffered(struct ustream *s, const char *data, int len,
int ustream_write(struct ustream *s, const char *data, int len, bool more)
{
struct ustream_buf_list *l = &s->w;
- int wr;
+ int wr
= 0
;
if (s->write_error)
return 0;