projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba0ef6b
)
fixes a copy paste error in the service ubus binding
author
John Crispin
<john@phrozen.org>
Tue, 27 Sep 2016 15:19:55 +0000
(17:19 +0200)
committer
John Crispin
<john@phrozen.org>
Tue, 27 Sep 2016 15:19:55 +0000
(17:19 +0200)
Signed-off-by: John Crispin <john@phrozen.org>
service/service.c
patch
|
blob
|
history
diff --git
a/service/service.c
b/service/service.c
index 0796adbb717f1ce0285aceb7c4ce5a3c976c5dfc..95978b5e25728ddbe08844171133f513eb3e031f 100644
(file)
--- a/
service/service.c
+++ b/
service/service.c
@@
-363,7
+363,7
@@
service_handle_update(struct ubus_context *ctx, struct ubus_object *obj,
blobmsg_parse(service_attrs, __SERVICE_ATTR_MAX, tb, blob_data(msg), blob_len(msg));
- cur = tb[SERVICE_
ATTR
_NAME];
+ cur = tb[SERVICE_
SET
_NAME];
if (!cur)
return UBUS_STATUS_INVALID_ARGUMENT;