about summary refs log tree commit homepage
path: root/lib/PublicInbox/View.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-04-04 08:03:18 +0000
committerEric Wong <e@yhbt.net>2020-04-04 23:37:29 +0000
commit3cfc29715f29a33d0f433e66c8e98341d4410c41 (patch)
tree986ec8f9e560adf3aea1d68374830d82b0b9ed9b /lib/PublicInbox/View.pm
parentc3e6ffa858003c17e96ef90d13760bda194319e0 (diff)
downloadpublic-inbox-3cfc29715f29a33d0f433e66c8e98341d4410c41.tar.gz
We're slowly moving towards doing all of our output buffering
into a single buffer, so passing that around on the stack as
a dedicated parameter is confusing.
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r--lib/PublicInbox/View.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index f0584cb7..12ef6431 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -589,7 +589,7 @@ sub add_text_body { # callback for msg_iter
                 if ($cur =~ /\A>/) {
                         flush_quote($rv, $l, \$cur);
                 } elsif ($diff) {
-                        flush_diff($rv, $ctx, \$cur);
+                        flush_diff($ctx, \$cur);
                 } else {
                         # regular lines, OK
                         $$rv .= $l->to_html($cur);