summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/malware.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/src/malware.c b/src/src/malware.c
index b9a641c94..4abf7d1f9 100644
--- a/src/src/malware.c
+++ b/src/src/malware.c
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/src/malware.c,v 1.4 2005/01/05 13:33:58 tom Exp $ */
+/* $Cambridge: exim/src/src/malware.c,v 1.5 2005/01/11 08:55:29 tom Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -95,6 +95,9 @@ int malware(uschar **listptr) {
return FAIL;
};
+ /* Reset sep that is set by previous string_nextinlist() call */
+ sep = 0;
+
/* compile the regex, see if it works */
re = pcre_compile(CS malware_regex, PCRE_COPT, (const char **)&rerror, &roffset, NULL);
if (re == NULL) {