mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 20:40:27 +00:00
debug_dump: early return
Currently, if log_level isn't at least DEBUG, nothing will be printed, anyways.
This commit is contained in:
@@ -178,6 +178,9 @@ void log_perror(int level, const char *msg)
|
||||
**/
|
||||
void debug_dump(const void *lp, int len)
|
||||
{
|
||||
if (log_level < LOG_LEVEL_DEBUG) {
|
||||
return;
|
||||
}
|
||||
const char *p;
|
||||
int i, j, start;
|
||||
char Buff[81];
|
||||
|
||||
Reference in New Issue
Block a user