Skip to content

Commit 352c24b

Browse files
authored
Merge pull request #2 from cystein/scan-entire-simscan-directory
Scanning the entire /var/qmail/simscan/workdir directory with clamdscan
2 parents d5dcc50 + 1ae468d commit 352c24b

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
@@ -107,7 +107,7 @@ int DebugFiles = 0;
107107
int size_limit = 250000;
108108

109109
/* --stdout is required for reading virus names */
110-
char *viri_args[] = { "clamdscan", "--stdout", message_name, NULL };
110+
char *viri_args[] = { "clamdscan", "--stdout", workdir, NULL };
111111

112112
/* To/From address processing globals */
113113
#define MAX_RCPT_TO 255

0 commit comments

Comments
 (0)