projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add an inline function to add the ubus socket to uloop
[project/ubus.git]
/
listener.c
diff --git
a/listener.c
b/listener.c
index
188cda8
..
0111f09
100644
(file)
--- a/
listener.c
+++ b/
listener.c
@@
-74,7
+74,7
@@
int main(int argc, char **argv)
fprintf(stderr, "Object Type ID: %08x\n", test_object2.type->id);
}
uloop_init();
- u
loop_fd_add(&ctx->sock, ULOOP_READ | ULOOP_EDGE_TRIGGER
);
+ u
bus_add_uloop(ctx
);
uloop_run();
ubus_free(ctx);