diff src/sm-archive.cpp @ 3:01268466f0dc

initial version
author carl
date Fri, 10 Mar 2006 11:00:12 -0800
parents 32b57406b656
children 5241a079fe03
line wrap: on
line diff
--- a/src/sm-archive.cpp	Fri Mar 10 10:47:12 2006 -0800
+++ b/src/sm-archive.cpp	Fri Mar 10 11:00:12 2006 -0800
@@ -190,10 +190,10 @@
 	char *target = dc.find_to(rcptaddr);
 	if (target) smfi_addrcpt(ctx, target);
 	free(rcptaddr);
-	if (!processed_from) {
+	if (!priv.processed_from) {
 		target = dc.find_from(priv.mailaddr);
 		if (target) smfi_addrcpt(ctx, target);
-		processed_from = true;
+		priv.processed_from = true;
 	}
 	return SMFIS_CONTINUE;
 }
@@ -208,7 +208,6 @@
 sfsistat mlfi_abort(SMFICTX *ctx)
 {
 	mlfiPriv &priv = *MLFIPRIV;
-	if (!priv) return SMFIS_CONTINUE;
 	priv.reset();
 	return SMFIS_CONTINUE;
 }