avoid changing wrong revents if connection closed
authorAndy Green <andy.green@linaro.org>
Thu, 15 Oct 2015 00:34:21 +0000 (08:34 +0800)
committerAndy Green <andy.green@linaro.org>
Thu, 15 Oct 2015 00:34:21 +0000 (08:34 +0800)
commit940a75503caa80de24f2b99a1fdfbbd6f593aef6
tree16106f2effa49aa01b359a18681e3ee51dfa298e
parent1963c9aa7f9e07359daa4c0e3a35375df04660df
avoid changing wrong revents if connection closed

As reported by Bruce Perens

http://ml.libwebsockets.org/pipermail/libwebsockets/2015-May/001814.html

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/service.c