From 9e826e368de450dfdaacf38def352d6314c76b62 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Tue, 3 Apr 2012 15:56:41 -0400 Subject: [PATCH] A few more bugs I didn't catch earlier. --- docs/replyfilter | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/replyfilter b/docs/replyfilter index 8906652..193dd40 100755 --- a/docs/replyfilter +++ b/docs/replyfilter @@ -135,7 +135,7 @@ process_part(\*STDIN, $content_type, $encoding, $charset, $boundary); if ($boundary) { # - # Eat the MIME eplilog + # Eat the MIME epilog # eat_part(\*STDIN); } @@ -159,7 +159,7 @@ sub process_text (*$$;$) # quote character # - if ($encoding eq '7bit' || $encoding ne '8bit') { + if ($encoding eq '7bit' || $encoding eq '8bit') { while (<$input>) { $ret = match_boundary($_, $boundary); if (defined $ret) { @@ -218,7 +218,7 @@ sub process_text (*$$;$) pipe($foutread, $foutwrite) || die "pipe() (second) failed: $!\n"; binmode($finread, ":encoding($outcharset)"); - binmode($finread, ":encoding($outcharset)"); + binmode($finwrite, ":encoding($outcharset)"); binmode($foutread, ":encoding($outcharset)"); binmode($foutwrite, ":encoding($outcharset)"); -- 1.7.10.4