ustream: set the right EOF flag

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
Felix Fietkau 2013-01-31 16:43:44 +01:00
parent 766ff98050
commit bc6a230b50

View file

@ -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;