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:
authorFelix Fietkau <nbd@openwrt.org>2013-01-31 19:43:44 +0400
committerFelix Fietkau <nbd@openwrt.org>2013-01-31 20:02:49 +0400
commitbc6a230b505916c43266280062793f5f77d09d99 (patch)
tree7d6d5bb4a69ba896b47b8e572975ac9786c75624 /ustream-fd.c
parent766ff9805074f88846fdc7c8b78b6ae364665356 (diff)
ustream: set the right EOF flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
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 e39da98..6f8f561 100644
--- a/ustream-fd.c
+++ b/ustream-fd.c
@@ -71,7 +71,7 @@ static void ustream_fd_read_pending(struct ustream_fd *sf, bool *more)
}
if (!len) {
- sf->fd.eof = true;
+ s->eof = true;
ustream_state_change(s);
ustream_fd_set_uloop(s, false);
return;