From ee873c8ca66dc249b155bf76e545e1adf019e8f1 Mon Sep 17 00:00:00 2001 From: Tom Kistner Date: Tue, 11 Jan 2005 08:55:29 +0000 Subject: [PATCH] Reset separator char after string_nextinlist() calls --- src/src/malware.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) { -- 2.25.1