projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libubus: move uloop_init() call to ubus_connect_ctx
[project/ubus.git]
/
libubus.c
diff --git
a/libubus.c
b/libubus.c
index
51a1483
..
9463522
100644
(file)
--- a/
libubus.c
+++ b/
libubus.c
@@
-277,6
+277,7
@@
static void ubus_default_connection_lost(struct ubus_context *ctx)
int ubus_connect_ctx(struct ubus_context *ctx, const char *path)
{
+ uloop_init();
memset(ctx, 0, sizeof(*ctx));
ctx->sock.fd = -1;