summaryrefslogtreecommitdiffstats
path: root/audio/sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sink.c')
-rw-r--r--audio/sink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/sink.c b/audio/sink.c
index e249af18..18bf7e37 100644
--- a/audio/sink.c
+++ b/audio/sink.c
@@ -148,8 +148,7 @@ static void stream_setup_complete(struct avdtp *session, struct a2dp_sep *sep,
reply = dbus_message_new_method_return(pending->msg);
send_message_and_unref(pending->conn, reply);
debug("Stream successfully created");
- }
- else {
+ } else {
err_failed(pending->conn, pending->msg, "Stream setup failed");
avdtp_unref(sink->session);
sink->session = NULL;