From: epg@google.com <> Date: Thu, 2 Apr 2009 20:41:23 +0000 (-0700) Subject: Fix bug after making get_headers return hash ref. X-Git-Url: https://diplodocus.org/git/minc/commitdiff_plain/f0ef05d5bea74ec19224fd236a0787d4b1aff29b Fix bug after making get_headers return hash ref. (scan_spam): Don't dereference the cached hash ref. --- diff --git a/minc b/minc index 6e0fcb5..1496450 100755 --- a/minc +++ b/minc @@ -813,7 +813,7 @@ sub scan_spam { $tuple = $SPAM{$msgnum}; if (defined($tuple->[0])) { # Filed by filter_mail, so we have the header. - $header = %{$tuple->[0]}; + $header = $tuple->[0]; } elsif (defined($tuple->[1])) { # Filed by maildir_spam, so we don't have the header. if ($run) {