diff options
Diffstat (limited to 'lib/ccdbg-debug.c')
| -rw-r--r-- | lib/ccdbg-debug.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/lib/ccdbg-debug.c b/lib/ccdbg-debug.c index 8f6f9e11..847361c7 100644 --- a/lib/ccdbg-debug.c +++ b/lib/ccdbg-debug.c @@ -47,7 +47,8 @@ ccdbg_debug(int level, char *format, ...)  }  void -ccdbg_flush(void) +ccdbg_flush(int level)  { -	fflush(stdout); +	if (ccdbg_level & level) +		fflush(stdout);  } | 
