dumping ground for random patches and texts
 help / color / mirror / Atom feed
* [PATCH] mbox: recycle!
@ 2016-08-07  0:37 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-08-07  0:37 UTC (permalink / raw)
  To: spew

---
 lib/PublicInbox/Mbox.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm
index a13e480..5f0fc7b 100644
--- a/lib/PublicInbox/Mbox.pm
+++ b/lib/PublicInbox/Mbox.pm
@@ -53,9 +53,9 @@ sub msg_str {
 
 	# mboxrd quoting style
 	# ref: http://www.qmail.org/man/man5/mbox.html
-	my $body = $msg->body;
-	$body =~ s/^(>*From )/>$1/gm;
-	$buf .= $body;
+	$msg = $msg->body;
+	$msg =~ s/^(>*From )/>$1/gm;
+	$buf .= $msg;
 	$buf .= "\n";
 }
 
-- 
EW


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-07  0:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-07  0:37 [PATCH] mbox: recycle! Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).