From 73a88451ddcc58ba1217dea22fee3eb5b20cf79b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 26 Apr 2014 16:55:17 +0200 Subject: [PATCH] uloop: clear uloop_fd::error on add Signed-off-by: Felix Fietkau --- uloop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/uloop.c b/uloop.c index d293edb..ee568a8 100644 --- a/uloop.c +++ b/uloop.c @@ -385,6 +385,7 @@ int uloop_fd_add(struct uloop_fd *sock, unsigned int flags) sock->registered = true; sock->eof = false; + sock->error = false; out: return ret;