git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2376f2f
)
Reset separator char after string_nextinlist() calls
author
Tom Kistner
<tom@duncanthrax.net>
Tue, 11 Jan 2005 08:55:29 +0000
(08:55 +0000)
committer
Tom Kistner
<tom@duncanthrax.net>
Tue, 11 Jan 2005 08:55:29 +0000
(08:55 +0000)
src/src/malware.c
patch
|
blob
|
history
diff --git
a/src/src/malware.c
b/src/src/malware.c
index b9a641c9440e7d673b7cf7d9d825652ed3e59191..4abf7d1f92723d63aab7327b909237ef646732cd 100644
(file)
--- 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 *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-95,6
+95,9
@@
int malware(uschar **listptr) {
return FAIL;
};
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) {
/* compile the regex, see if it works */
re = pcre_compile(CS malware_regex, PCRE_COPT, (const char **)&rerror, &roffset, NULL);
if (re == NULL) {