about summary refs log tree commit homepage
path: root/Documentation/mknews.perl
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/mknews.perl')
-rwxr-xr-xDocumentation/mknews.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl
index 51d54b71..4a5d0e56 100755
--- a/Documentation/mknews.perl
+++ b/Documentation/mknews.perl
@@ -103,9 +103,9 @@ sub mime2txt {
 
 sub mime2html {
         my ($out, $eml, $ctx) = @_;
-        my $smsg = bless {}, 'PublicInbox::Smsg';
+        my $smsg = $ctx->{smsg} = bless {}, 'PublicInbox::Smsg';
         $smsg->populate($eml);
-        print $out PublicInbox::View::eml_entry($ctx, $smsg, $eml, 1) or die;
+        print $out PublicInbox::View::eml_entry($ctx, $eml, 1) or die;
 }
 
 sub html_start {