From e3e66b496be0c4abe4fa74569691ea2fb2624b86 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Thu, 2 Nov 2017 19:04:54 +0100 Subject: fix indent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If4173ea56b2ecf39f6fbdd15ed84321468a0a56a Signed-off-by: José Bollo --- alsa-hook/PolicyAlsaHook.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'alsa-hook') diff --git a/alsa-hook/PolicyAlsaHook.c b/alsa-hook/PolicyAlsaHook.c index 5e63825..3fbf40e 100644 --- a/alsa-hook/PolicyAlsaHook.c +++ b/alsa-hook/PolicyAlsaHook.c @@ -149,9 +149,10 @@ void OnEventCB(void *handle, const char *event, int evtid, struct json_object *d if (done) { const char *value=json_object_get_string(tmpJ); if (!strcmp(afbEvent[index]->value, value)) { - if (afbEvent[index]->signal) + if (afbEvent[index]->signal) { if (afbClient->verbose) printf("ON-EVENT search=%s value=%s signal=%d\n", afbEvent[index]->search, value, afbEvent[index]->signal); if (afbEvent[index]->signal) kill (getpid(), afbEvent[index]->signal); + } } } } -- cgit 1.2.3-korg