about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiSelfSocket.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-09-24 20:19:20 +0000
committerEric Wong <e@80x24.org>2023-09-24 23:14:20 +0000
commit1afb6f5133444bc53db047574d5142f85dfc2218 (patch)
tree3cb40ac3a069e76ee50dd90e508cb6d0431a0904 /lib/PublicInbox/LeiSelfSocket.pm
parent9852f593c5e86ffad77b2558f5028fd8f13f2c21 (diff)
downloadpublic-inbox-1afb6f5133444bc53db047574d5142f85dfc2218.tar.gz
Handling this should be done at the lowest levels possible;
so away from higher-level lei code.
Diffstat (limited to 'lib/PublicInbox/LeiSelfSocket.pm')
-rw-r--r--lib/PublicInbox/LeiSelfSocket.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiSelfSocket.pm b/lib/PublicInbox/LeiSelfSocket.pm
index 84367266..b8745252 100644
--- a/lib/PublicInbox/LeiSelfSocket.pm
+++ b/lib/PublicInbox/LeiSelfSocket.pm
@@ -25,7 +25,6 @@ sub event_step {
         if (scalar(@fds) == 1 && !defined($fds[0])) {
                 return if $!{EAGAIN};
                 die "recvmsg: $!" unless $!{ECONNRESET};
-                $buf = '';
         } else { # just in case open so perl can auto-close them:
                 for (@fds) { open my $fh, '+<&=', $_ };
         }