projects
/
oweals
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a84c6ca
)
remove an unnecessary check
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 5 Feb 2011 19:56:50 +0000
(20:56 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 5 Feb 2011 19:56:50 +0000
(20:56 +0100)
ubusd.c
patch
|
blob
|
history
diff --git
a/ubusd.c
b/ubusd.c
index a1636aa1847dbaf5c980d8f3616ad5c5526ab2d7..bd437a5af80dd50158a1e1d153c5b58966f64881 100644
(file)
--- a/
ubusd.c
+++ b/
ubusd.c
@@
-180,8
+180,6
@@
static void client_cb(struct uloop_fd *sock, unsigned int events)
}
break;
}
- if (written == 0)
- break;
cl->txq_ofs += written;
if (cl->txq_ofs < ub->len + sizeof(ub->hdr))