From: Mike Brady Date: Wed, 14 Nov 2018 17:31:39 +0000 (+0000) Subject: Fix silly issue with diagnostic code. X-Git-Tag: 3.3RC0~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca3c05f8b53c767d7de088bc976e69631a989b9f;p=thirdparty%2Fshairport-sync.git Fix silly issue with diagnostic code. --- diff --git a/rtsp.c b/rtsp.c index 73d8d05a..4663470a 100644 --- 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; };