Don't print out buffer since it isn't zero terminated

This commit is contained in:
Isaac Connor 2021-05-30 18:31:57 -04:00
parent f723b39cf6
commit 5bdbb25efb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}