From bc6a230b505916c43266280062793f5f77d09d99 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 31 Jan 2013 16:43:44 +0100 Subject: [PATCH] ustream: set the right EOF flag Signed-off-by: Felix Fietkau --- ustream-fd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0