projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove an unnecessary check
[project/ubus.git]
/
ubusd.c
diff --git
a/ubusd.c
b/ubusd.c
index
a1636aa
..
bd437a5
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))