Permalink
Browse files

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.
  • Loading branch information...
1 parent b3d210e commit d591d7f37dd6fdc09d7d67bd6ff1cef15e4f40ce @dzrongg dzrongg committed with ford-prefect Jul 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit d591d7f

Please sign in to comment.