projects
/
project
/
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
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;
}
}
break;
}
- if (written == 0)
- break;
cl->txq_ofs += written;
if (cl->txq_ofs < ub->len + sizeof(ub->hdr))
cl->txq_ofs += written;
if (cl->txq_ofs < ub->len + sizeof(ub->hdr))