Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ustream-fd.c')
-rw-r--r--ustream-fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ustream-fd.c b/ustream-fd.c
index 4abb530..bc44d4a 100644
--- a/ustream-fd.c
+++ b/ustream-fd.c
@@ -119,7 +119,7 @@ static bool __ustream_fd_poll(struct ustream_fd *sf, unsigned int events)
ustream_fd_read_pending(sf, &more);
if (events & ULOOP_WRITE) {
- if (!ustream_write_pending(s))
+ if (ustream_write_pending(s))
ustream_fd_set_uloop(s, false);
}