Browse code

Tidy up bug 614

git-svn: trunk@3170

Nigel Horne authored on 2007/08/14 07:26:08
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Mon Aug 13 22:27:13 BST 2007 (njh)
2
+----------------------------------
3
+  * clamav-milter:	Tidy up bug fix 614
4
+
1 5
 Mon Aug 13 19:09:43 CEST 2007 (tk)
2 6
 ----------------------------------
3 7
   * libclamav, sigtool: add support for PUA databases (.hdu, .mdu, .ndu),
... ...
@@ -33,7 +33,7 @@
33 33
  */
34 34
 static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.312 2007/02/12 22:24:21 njh Exp $";
35 35
 
36
-#define	CM_VERSION	"devel-100807"
36
+#define	CM_VERSION	"devel-130807"
37 37
 
38 38
 #if HAVE_CONFIG_H
39 39
 #include "clamav-config.h"
... ...
@@ -2926,7 +2926,7 @@ clamfi_envrcpt(SMFICTX *ctx, char **argv)
2926 2926
 		if(strchr("|;", *ptr) != NULL) {
2927 2927
 			smfi_setreply(ctx, "554", "5.7.1", _("Suspicious recipient address blocked"));
2928 2928
 			logg("^Suspicious recipient address blocked: '%s'", to);
2929
-			clamfi_cleanup(ctx);
2929
+			privdata->to[privdata->numTo] = NULL;
2930 2930
 			return SMFIS_REJECT;
2931 2931
 		}
2932 2932