diff options
Diffstat (limited to 'plugins/alsa')
-rw-r--r-- | plugins/alsa/alsa-api-mixer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/alsa/alsa-api-mixer.c b/plugins/alsa/alsa-api-mixer.c index 07bcf12..9dedb04 100644 --- a/plugins/alsa/alsa-api-mixer.c +++ b/plugins/alsa/alsa-api-mixer.c @@ -645,7 +645,7 @@ static void MixerBluezAlsaDevVerb(AFB_ReqT request) { json_object *argsJ = afb_req_json(request); int error; - if (!json_object_is_type(argsJ,json_type_null)) { + if (json_object_is_type(argsJ,json_type_null)) { goto parsed; } @@ -675,7 +675,6 @@ parsed: goto OnErrorExit; } - AFB_ReqSuccess(request, responseJ, NULL); OnErrorExit: |