From 332157202da1e230b900a0bf72153177c5da0be6 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 30 Aug 2007 20:24:19 +0000 Subject: Fix missing {}. --- audio/pcm_bluetooth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit