From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 723171FA42 for ; Fri, 27 Oct 2023 09:40:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1698399642; bh=BxWhiLQjWlzv35i8jt/Mjp7kOzB2SyyuTmLA5Czb6nY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vVBqIUouHXlV4ox5fiJpuq1X6YdyBcKwzswSFp25DK8ugmCAa8SYM4VDo8OE1LJT8 deurHOdyDOSqMLvoSbpXUCxibiLO+ZRjsVqVrV2Sog7bsb/NxriIBZmr0lgNmz2uRj VC9TRwL/nBLtzE2A9W7XhR3F996W7bG4iBVr/zBo= From: Eric Wong To: spew@80x24.org Subject: [PATCH 17/18] lei_xsearch: use ->close Date: Fri, 27 Oct 2023 09:40:38 +0000 Message-ID: <20231027094039.3788289-17-e@80x24.org> In-Reply-To: <20231027094039.3788289-1-e@80x24.org> References: <20231027094039.3788289-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: --- lib/PublicInbox/LeiXSearch.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm index 241b9dab..9cad3642 100644 --- a/lib/PublicInbox/LeiXSearch.pm +++ b/lib/PublicInbox/LeiXSearch.pm @@ -353,7 +353,7 @@ print STDERR $_; $lei, $each_smsg); $lei->sto_done_request if delete($self->{-sto_imported}); my $nr = delete $lei->{-nr_remote_eml} // 0; - close $cfh; + $cfh->close; my $code = $?; if (!$code) { # don't update if no results, maybe MTA is down $lei->{lss}->cfg_set($key, $start) if $key && $nr;