diff options
Diffstat (limited to 'Documentation/mknews.perl')
-rwxr-xr-x | Documentation/mknews.perl | 4 |
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 { |