From 0bcb30b8a92fa50665b1731716720583c6f4fff1 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 30 May 2021 18:31:57 -0400 Subject: [PATCH] Don't print out buffer since it isn't zero terminated --- src/zm_rtsp_server_fifo_source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_rtsp_server_fifo_source.cpp b/src/zm_rtsp_server_fifo_source.cpp index d83096717..025a15b66 100644 --- a/src/zm_rtsp_server_fifo_source.cpp +++ b/src/zm_rtsp_server_fifo_source.cpp @@ -209,7 +209,7 @@ int ZoneMinderFifoSource::getNextFrame() { Debug(4, "ZM Packet %s header_size %d packet size %u pts %s %" PRId64, header, header_size, data_size, pts_ptr, pts); delete[] header; } else { - Debug(1, "ZM header not found in %d of buffer:%s.", m_buffer.size(), m_buffer.head()); + Debug(1, "ZM header not found in %u of buffer.", m_buffer.size()); m_buffer.clear(); return 0; }