From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id B93B81FE4E for ; Fri, 1 Jul 2016 00:31:02 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] searchview: add missing newline in search results Date: Fri, 1 Jul 2016 00:31:02 +0000 Message-Id: <20160701003102.5246-1-e@80x24.org> List-Id: Hrm... is there a more obvious way to do an internal API for this while still being streamable? --- lib/PublicInbox/SearchView.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm index d019a0f..ce1eff1 100644 --- a/lib/PublicInbox/SearchView.pm +++ b/lib/PublicInbox/SearchView.pm @@ -191,7 +191,8 @@ sub mset_thread { } if ($mime) { $mime = Email::MIME->new($mime); - return PublicInbox::View::index_entry($mime, $ctx); + return PublicInbox::View::index_entry($mime, $ctx, + scalar @$msgs); } $msgs = undef; $skel .= "\n";