projects
/
project
/
rpcd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6128bf6
)
session: fix enum mismatch in rpc_handle_get() and rpc_handle_set()
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 12 Sep 2013 09:51:58 +0000
(11:51 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 12 Sep 2013 10:04:14 +0000
(12:04 +0200)
session.c
patch
|
blob
|
history
diff --git
a/session.c
b/session.c
index 784d7b9870e54e2a31ce87bd34377e4427f70de3..1e7dc1df9396789d464fcc74a255fcfc2487783f 100644
(file)
--- a/
session.c
+++ b/
session.c
@@
-621,7
+621,7
@@
rpc_handle_set(struct ubus_context *ctx, struct ubus_object *obj,
struct blob_attr *msg)
{
struct rpc_session *ses;
- struct blob_attr *tb[__RPC_S
A
_MAX];
+ struct blob_attr *tb[__RPC_S
S
_MAX];
struct blob_attr *attr;
int rem;
@@
-651,7
+651,7
@@
rpc_handle_get(struct ubus_context *ctx, struct ubus_object *obj,
{
struct rpc_session *ses;
struct rpc_session_data *data;
- struct blob_attr *tb[__RPC_S
A
_MAX];
+ struct blob_attr *tb[__RPC_S
G
_MAX];
struct blob_attr *attr;
void *c;
int rem;