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;