projects
/
oweals
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a204ae3
)
uloop: do not use ULOOP_EDGE_TRIGGER for the blocking socket, it can miss some events...
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 18 May 2012 20:32:25 +0000
(22:32 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 18 May 2012 20:32:25 +0000
(22:32 +0200)
libubus.h
patch
|
blob
|
history
diff --git
a/libubus.h
b/libubus.h
index 0dcbb6d3e93da0825e64813da1a43c8115db7b78..e0e418b143921cb5ba7a2b0a74c778cdb0ff6a6b 100644
(file)
--- a/
libubus.h
+++ b/
libubus.h
@@
-150,7
+150,7
@@
const char *ubus_strerror(int error);
static inline void ubus_add_uloop(struct ubus_context *ctx)
{
- uloop_fd_add(&ctx->sock, ULOOP_
EDGE_TRIGGER | ULOOP_
BLOCKING | ULOOP_READ);
+ uloop_fd_add(&ctx->sock, ULOOP_BLOCKING | ULOOP_READ);
}
/* call this for read events on ctx->sock.fd when not using uloop */