[pulseaudio-discuss] [PATCH v2 07/10] raop: Fix indentation

Peter Meerwald-Stadler pmeerw at pmeerw.net
Mon Mar 6 07:43:19 UTC 2017


Signed-off-by: Peter Meerwald-Stadler <pmeerw at pmeerw.net>
---
 src/modules/raop/raop-client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/raop/raop-client.c b/src/modules/raop/raop-client.c
index 03558f6..c6e1877 100644
--- a/src/modules/raop/raop-client.c
+++ b/src/modules/raop/raop-client.c
@@ -1032,8 +1032,8 @@ static void rtsp_stream_cb(pa_rtsp_client *rtsp, pa_rtsp_state_t state, pa_rtsp_
                     /* Now parse out the server port component of the response. */
                     while ((token = pa_split(trs, delimiters, &token_state))) {
                         if ((pc = strstr(token, "="))) {
-                        *pc = 0;
-                         if (pa_streq(token, "control_port"))
+                            *pc = 0;
+                            if (pa_streq(token, "control_port"))
                                 pa_atou(pc + 1, &cport);
                             if (pa_streq(token, "timing_port"))
                                 pa_atou(pc + 1, &tport);
-- 
2.7.4



More information about the pulseaudio-discuss mailing list