Skip to content

Commit

Permalink
Quieten some debug messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrady committed Dec 2, 2024
1 parent d8442c1 commit da1c20c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rtsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1180,20 +1180,20 @@ ssize_t timed_read_from_rtsp_connection(rtsp_conn_info *conn, uint64_t wait_time
} else {
result = read(conn->fd, buf, count);
if (result == 0) {
debug(1, "AP2 read result 0, for a request count of %u.", count);
debug(3, "AP2 read result 0, for a request count of %u.", count);
}
}
#else
result = read(conn->fd, buf, count);
if (result == 0) {
debug(1, "AP1 read result 0, for a request count of %u.", count);
debug(3, "AP1 read result 0, for a request count of %u.", count);

}
#endif
if ((result == 0) && (errno != 0)) {
char errorstring[1024];
strerror_r(errno, (char *)errorstring, sizeof(errorstring));
debug(1, "Connection %d: read result 0, error %d: \"%s\".",
debug(2, "Connection %d: read result 0, error %d: \"%s\".",
conn->connection_number, errno, (char *)errorstring);
}

Expand Down

0 comments on commit da1c20c

Please sign in to comment.