diff options
Diffstat (limited to 'plugins/radio/radio-api.c')
-rw-r--r-- | plugins/radio/radio-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/radio/radio-api.c b/plugins/radio/radio-api.c index 09fbcb55..1cbf3149 100644 --- a/plugins/radio/radio-api.c +++ b/plugins/radio/radio-api.c @@ -140,7 +140,7 @@ STATIC json_object* init (AFB_request *request) { /* AFB_SESSION_CREATE */ STATIC json_object* power (AFB_request *request) { /* AFB_SESSION_CHECK */ - pluginHandleT *handle = (pluginHandleT*)request->plugin; + pluginHandleT *handle = (pluginHandleT*)request->handle; radioCtxHandleT *ctx = (radioCtxHandleT*)request->context; const char *value = getQueryValue (request, "value"); json_object *jresp; |