Skip to content

Commit 9c5429a

Browse files
committed
hide clamdscan summary if no debug active
1 parent d98cc27 commit 9c5429a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simscan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ int check_clam()
996996
InClamHeaders = 1;
997997
memset(buffer,0,sizeof(buffer));
998998
while((file_count=read(pim[0],buffer,BUFFER_SIZE))>0) {
999-
log_clam(buffer);
999+
if ( DebugFlag > 2 ) log_clam(buffer) ;
10001000
if ( InClamHeaders == 1 ) {
10011001
is_clam(buffer);
10021002
}

0 commit comments

Comments
 (0)