diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-09-12 11:51:58 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-09-12 12:04:14 +0200 |
commit | 4c9f178ad6e542495bb1c9d4478b465bd878677f (patch) | |
tree | d770a9e2d127d4f74772856f1c753da4968a2aec | |
parent | 6128bf647c1dad245f311223c63d8d7b9063a352 (diff) | |
download | rpcd-4c9f178ad6e542495bb1c9d4478b465bd878677f.tar.gz |
session: fix enum mismatch in rpc_handle_get() and rpc_handle_set()
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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_SA_MAX]; + struct blob_attr *tb[__RPC_SS_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_SA_MAX]; + struct blob_attr *tb[__RPC_SG_MAX]; struct blob_attr *attr; void *c; int rem; |