ustream-fd: only use read() == 0 as eof indication, and issue a state change notifica...
authorFelix Fietkau <nbd@openwrt.org>
Wed, 30 Jan 2013 16:48:55 +0000 (17:48 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 30 Jan 2013 16:48:55 +0000 (17:48 +0100)
commitf24b6294c2d070e03ce663a60cdc50c9e5ab50e8
tree81e6dfcca97304c2b7d8b26d116156e027eff95f
parente72b65c89936aafe16c28255ce326aac77f876a7
ustream-fd: only use read() == 0 as eof indication, and issue a state change notification when that happens

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ustream-fd.c