uloop: clear uloop_fd::error on add

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
Felix Fietkau 2014-04-26 16:55:17 +02:00
parent 131b3352d9
commit 73a88451dd

View file

@ -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;