[Mimedefang] Anomy 1.54 w/ MD 2.21
Aaron Paetznick
aaronp at critd.com
Wed Sep 25 13:52:02 EDT 2002
I was having problems with my original code, but the code you have below
seems to work great, at least so far. I wanted to test it a little
before responding. Thanks!
--Aaron
David F. Skoll wrote:
> On Mon, 23 Sep 2002, Aaron Paetznick wrote:
>
>
>>####<hack>####
>> while (<IN>) {
>> $t = $l . $_ if defined $l;
>> $l = $cleaner->clean(\$t);
>> print OUT $t;
>> }
>>####</hack>####
>
>
> Does that work properly? I'd have thought it should be:
>
> while (<IN>) {
> if (defined($l)) {
> $t = $l . $_;
> } else {
> $t = $_;
> }
> $l = $cleaner->clean(\$t);
> print OUT $t;
> }
>
> Otherwise, we could discard input.
>
> Regards,
>
> David.
>
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
More information about the MIMEDefang
mailing list