Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-04-26 18:55:17 +0400
committerFelix Fietkau <nbd@openwrt.org>2014-04-26 18:55:17 +0400
commit73a88451ddcc58ba1217dea22fee3eb5b20cf79b (patch)
tree9d127fb0b3aca5e0cd95309035d8c912498fa5f3 /uloop.c
parent131b3352d9005895fdd6b1c9fb9cb1263469773b (diff)
uloop: clear uloop_fd::error on add
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uloop.c')
-rw-r--r--uloop.c1
1 files changed, 1 insertions, 0 deletions
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;