From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 0F5711F9F3 for ; Sat, 3 Apr 2021 02:24:28 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 4/6] lei_auth: rename {net_merge} to {net_merge_continue} Date: Sat, 3 Apr 2021 02:24:25 +0000 Message-Id: <20210403022427.2430-5-e@80x24.org> In-Reply-To: <20210403022427.2430-1-e@80x24.org> References: <20210403022427.2430-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: No reason for the hash key to differ from the subroutine name, here. --- lib/PublicInbox/LeiAuth.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/PublicInbox/LeiAuth.pm b/lib/PublicInbox/LeiAuth.pm index 48deca93..e7b26c5f 100644 --- a/lib/PublicInbox/LeiAuth.pm +++ b/lib/PublicInbox/LeiAuth.pm @@ -16,8 +16,8 @@ sub do_auth_atfork { # used by IPC WQ workers eval { my $mics = $net->imap_common_init($lei); my $nn = $net->nntp_common_init($lei); - pkt_do($lei->{pkt_op_p}, 'net_merge', $net) or - die "pkt_do net_merge: $!"; + pkt_do($lei->{pkt_op_p}, 'net_merge_continue', $net) or + die "pkt_do net_merge_continue: $!"; $net->{mics_cached} = $mics if $mics; $net->{nn_cached} = $nn if $nn; }; @@ -46,7 +46,7 @@ sub net_merge_continue { sub op_merge { # prepares PktOp->pair ops my ($self, $ops, $wq) = @_; - $ops->{net_merge} = [ \&net_merge_continue, $wq ]; + $ops->{net_merge_continue} = [ \&net_merge_continue, $wq ]; $ops->{net_merge_done1} = [ \&net_merge_done1, $wq ]; }