summaryrefslogtreecommitdiffstats
path: root/audio/pcm_bluetooth.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-08-30 20:24:19 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-08-30 20:24:19 +0000
commit332157202da1e230b900a0bf72153177c5da0be6 (patch)
tree0544a7dfbdc17bd5fff51d1d004b5b859bf460cb /audio/pcm_bluetooth.c
parent000367f802b2ea5e6a06a009eaaaa1463ec0026f (diff)
Fix missing {}.
Diffstat (limited to 'audio/pcm_bluetooth.c')
-rw-r--r--audio/pcm_bluetooth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c
index ff82bff1..9fed93a8 100644
--- a/audio/pcm_bluetooth.c
+++ b/audio/pcm_bluetooth.c
@@ -846,10 +846,11 @@ static int bluetooth_recvmsg_fd(struct bluetooth_data *data)
for (cmsg = CMSG_FIRSTHDR(&msgh); cmsg != NULL;
cmsg = CMSG_NXTHDR(&msgh,cmsg)) {
if (cmsg->cmsg_level == SOL_SOCKET
- && cmsg->cmsg_type == SCM_RIGHTS)
+ && cmsg->cmsg_type == SCM_RIGHTS) {
data->stream_fd = (*(int *) CMSG_DATA(cmsg));
DBG("stream_fd=%d", data->stream_fd);
return 0;
+ }
}
} else
SNDERR("Unexpected packet type %d received", pkt.type);