about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-05-02 20:28:43 +0000
committerEric Wong <e@80x24.org>2014-05-02 21:06:47 +0000
commit63ede74cfe5817642a4211419ae2bd3838260237 (patch)
tree19d79db91b59eefbed9474c03b6eb5bbbcda1ce6 /lib/PublicInbox/Feed.pm
parent85f6a372e8bea0b64ff7740c73c7d478fad201c4 (diff)
downloadpublic-inbox-63ede74cfe5817642a4211419ae2bd3838260237.tar.gz
This should reduce data copies and memory usage, according
to Email::Simple documentation.
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index a507cda1..09eb2fca 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -299,7 +299,7 @@ sub dump_html_line {
 sub do_cat_mail {
         my ($git, $path) = @_;
         my $str = $git->cat_file("HEAD:$path");
-        Email::MIME->new($$str);
+        Email::MIME->new($str);
 }
 
 1;