[pulseaudio-discuss] [PATCH 1/2] bluetooth: Remove unnecessary braces
Tanu Kaskinen
tanuk at iki.fi
Thu Mar 28 01:11:17 PDT 2013
On Wed, 2013-03-27 at 10:45 -0300, jprvita at gmail.com wrote:
> From: João Paulo Rechi Vita <jprvita at openbossa.org>
>
> ---
> src/modules/bluetooth/bluetooth-util.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
> index 5e4b77b..81cbf9b 100644
> --- a/src/modules/bluetooth/bluetooth-util.c
> +++ b/src/modules/bluetooth/bluetooth-util.c
> @@ -1631,11 +1631,11 @@ static DBusHandlerResult endpoint_handler(DBusConnection *c, DBusMessage *m, voi
> DBUS_TYPE_STRING, &xml,
> DBUS_TYPE_INVALID));
>
> - } else if (dbus_message_is_method_call(m, "org.bluez.MediaEndpoint", "SetConfiguration")) {
> + } else if (dbus_message_is_method_call(m, "org.bluez.MediaEndpoint", "SetConfiguration"))
> r = endpoint_set_configuration(c, m, userdata);
> - } else if (dbus_message_is_method_call(m, "org.bluez.MediaEndpoint", "SelectConfiguration")) {
> + else if (dbus_message_is_method_call(m, "org.bluez.MediaEndpoint", "SelectConfiguration"))
> r = endpoint_select_configuration(c, m, userdata);
> - } else if (dbus_message_is_method_call(m, "org.bluez.MediaEndpoint", "ClearConfiguration"))
> + else if (dbus_message_is_method_call(m, "org.bluez.MediaEndpoint", "ClearConfiguration"))
> r = endpoint_clear_configuration(c, m, userdata);
> else
> return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
Both patches applied, thanks!
--
Tanu
More information about the pulseaudio-discuss
mailing list