projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add functions for internal object allocation
[project/ubus.git]
/
ubusd.c
diff --git
a/ubusd.c
b/ubusd.c
index
87b9519
..
798761d
100644
(file)
--- a/
ubusd.c
+++ b/
ubusd.c
@@
-258,7
+258,7
@@
static bool get_next_connection(int fd)
cl->sock.fd = client_fd;
INIT_LIST_HEAD(&cl->objects);
- if (!ubus_alloc_id(&clients, &cl->id))
+ if (!ubus_alloc_id(&clients, &cl->id
, 0
))
goto error;
cl->sock.cb = client_cb;