projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
460301e
)
libubus: fix passing the return code of the subscriber callback to the notifier
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 17 Mar 2013 17:29:38 +0000
(18:29 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 17 Mar 2013 17:29:38 +0000
(18:29 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
libubus-sub.c
patch
|
blob
|
history
diff --git
a/libubus-sub.c
b/libubus-sub.c
index 167630c69b5b45fb0e6263214625019c5ee01444..8793133ad05ec54802be86860e032aa10186a99c 100644
(file)
--- a/
libubus-sub.c
+++ b/
libubus-sub.c
@@
-22,7
+22,7
@@
static int ubus_subscriber_cb(struct ubus_context *ctx, struct ubus_object *obj,
s = container_of(obj, struct ubus_subscriber, obj);
if (s->cb)
- s->cb(ctx, obj, req, method, msg);
+
return
s->cb(ctx, obj, req, method, msg);
return 0;
}