You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/09/04 04:05:40 UTC
svn commit: rev 43309 - spamassassin/trunk/lib/Mail/SpamAssassin
Author: felicity
Date: Fri Sep 3 19:05:39 2004
New Revision: 43309
Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Log:
bug 3698: remove unused function decoded_mime_bit from PMS
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm Fri Sep 3 19:05:39 2004
@@ -1430,27 +1430,6 @@
###########################################################################
-sub decode_mime_bit {
- my ($self, $encoding, $text) = @_;
- local ($_) = $text;
-
- $encoding = lc($encoding);
-
- if ($encoding eq 'utf-16') {
- # we just dump the high bits and keep the 8-bit characters
- s/_/ /g;
- s/=00//g;
- s/\=([0-9A-F]{2})/chr(hex($1))/ge;
- }
- else {
- # keep 8-bit stuff, forget mapping charsets though
- s/_/ /g;
- s/\=([0-9A-F]{2})/chr(hex($1))/ge;
- }
-
- return $_;
-}
-
sub ran_rule_debug_code {
my ($self, $rulename, $ruletype, $bit) = @_;