diff options
author | Eric Wong <e@80x24.org> | 2021-01-10 12:15:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-01-12 03:51:42 +0000 |
commit | 6cc0e6870cb4950c08646769f2a7e30729b7d409 (patch) | |
tree | 13eb8e9cd433b215a8980ecbc6c7d1a741473466 /script/lei | |
parent | 0c89ebd477d1c7a695a0a0b3023c0d41abe573fa (diff) | |
download | public-inbox-6cc0e6870cb4950c08646769f2a7e30729b7d409.tar.gz |
Actually, sending 4 FDs will be useful for lei internal xsearch work once we start accepting input from stdin. It won't be used with the lightweight lei(1) client, however. For WWW (eventually), a single FD may be enough.
Diffstat (limited to 'script/lei')
-rwxr-xr-x | script/lei | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ Falling back to (slow) one-shot mode $buf .= "\0\0"; select $sock; $| = 1; # unbuffer selected $sock - $send_cmd->($sock, 0, 1, 2, $buf, 0); + $send_cmd->($sock, [ 0, 1, 2 ], $buf, 0); while ($buf = <$sock>) { $buf =~ /\Aexit=([0-9]+)\n\z/ and exit($1 + 0); die $buf; |