]> Sergey Matveev's repositories - public-inbox.git/commit
recv_cmd: do not undef recvmsg buffer arg on errors
authorEric Wong <e@80x24.org>
Wed, 23 Mar 2022 08:54:34 +0000 (08:54 +0000)
committerEric Wong <e@80x24.org>
Wed, 23 Mar 2022 18:39:02 +0000 (18:39 +0000)
commit215e2138c99d48e2061eb98aef5a6da1bc3ff828
treef66103b08aa26b9fa9a02bee1e4f645fb7c3d98c
parent6ab6029bc99fe3b7f41eb19164542d0264a80380
recv_cmd: do not undef recvmsg buffer arg on errors

It's a waste of ops and cycles, and inconsistent with perl
sysread() behavior which doesn't touch the supplied buffer on
errors.
lib/PublicInbox/CmdIPC4.pm