diff options
author | Tom Kistner <tom@duncanthrax.net> | 2005-01-11 08:55:29 +0000 |
---|---|---|
committer | Tom Kistner <tom@duncanthrax.net> | 2005-01-11 08:55:29 +0000 |
commit | ee873c8ca66dc249b155bf76e545e1adf019e8f1 (patch) | |
tree | 6b91726ddc0d8ecd64782e0f032baec497c3aa61 /src | |
parent | 2376f2f55f7f8e1df38b44908b6d39181a88a65e (diff) |
Reset separator char after string_nextinlist() calls
Diffstat (limited to 'src')
-rw-r--r-- | src/src/malware.c | 5 |
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) { |