>From 6df0bd0e06c6dd35b66d7ffe03001c0d9e9b8b5d Mon Sep 17 00:00:00 2001 From: Deng Zhengrong <dzrongg@xxxxxxxxx> Date: Wed, 11 Jul 2012 15:28:34 +0800 Subject: [PATCH] bluetooth: add a parenthesis around pa_streq() I know that pa_streq() is defined with an extra parenthesis, but everytime I look at it, it makes me nervous. :D So it's better to add the parenthesis here. --- src/modules/bluetooth/module-bluetooth-policy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/modules/bluetooth/module-bluetooth-policy.c b/src/modules/bluetooth/module-bluetooth-policy.c index 665185d..7f19447 100644 --- a/src/modules/bluetooth/module-bluetooth-policy.c +++ b/src/modules/bluetooth/module-bluetooth-policy.c @@ -65,7 +65,7 @@ static pa_hook_result_t source_put_hook_callback(pa_core *c, pa_source *source, if (!s) return PA_HOOK_OK; - if pa_streq(s, "a2dp_source") + if (pa_streq(s, "a2dp_source")) role = "music"; else { pa_log_debug("Profile %s cannot be selected for loopback", s); -- 1.7.7.6