Skip to content

Commit

Permalink
Don't print out buffer since it isn't zero terminated
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed May 30, 2021
1 parent f723b39 commit 5bdbb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zm_rtsp_server_fifo_source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5bdbb25

Please sign in to comment.