about summary refs log tree commit homepage
path: root/lib/PublicInbox/IPC.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-05-25 22:20:00 +0000
committerEric Wong <e@80x24.org>2021-05-25 23:05:02 +0000
commit3060d78b4183f3e985fb7ff8864949de990f2610 (patch)
tree52088c35852f0baa0d4e8d7c36ec184cfdf876b2 /lib/PublicInbox/IPC.pm
parentbfe6a3e13c286d60a5bfa46cef7625f83ae0ca18 (diff)
downloadpublic-inbox-3060d78b4183f3e985fb7ff8864949de990f2610.tar.gz
This fixes a potential problem with Carp::longmess
firing somewhere deeper in the stack.  This is not a known
problem at this time, but something I noticed while chasing
something else.
Diffstat (limited to 'lib/PublicInbox/IPC.pm')
-rw-r--r--lib/PublicInbox/IPC.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/IPC.pm b/lib/PublicInbox/IPC.pm
index cf3723f7..24237773 100644
--- a/lib/PublicInbox/IPC.pm
+++ b/lib/PublicInbox/IPC.pm
@@ -251,7 +251,7 @@ sub wq_worker_loop ($) {
 
 sub do_sock_stream { # via wq_io_do, for big requests
         my ($self, $len) = @_;
-        recv_and_run($self, delete $self->{0}, $len, 1);
+        recv_and_run($self, my $s2 = delete $self->{0}, $len, 1);
 }
 
 sub wq_broadcast {