]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix silly issue with diagnostic code.
authorMike Brady <mikebrady@eircom.net>
Wed, 14 Nov 2018 17:31:39 +0000 (17:31 +0000)
committerMike Brady <mikebrady@eircom.net>
Wed, 14 Nov 2018 17:31:39 +0000 (17:31 +0000)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index 73d8d05a4625faaf87763c4f7fc55314d156fb9b..4663470a1cb334dfeb98ef0b5a5a5785e315b881 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -2077,7 +2077,7 @@ static void *rtsp_conversation_thread_func(void *pconn) {
                                                char *obfp = obf;
                                                int obfc;
                                                for (obfc = 0; obfc < y; obfc++) {
-                                                       snprintf(obfp, 3, "%02X", (unsigned int)p);
+                                                       snprintf(obfp, 3, "%02X", (unsigned int)*p);
                                                        p++;
                                                        obfp += 2;
                                                };