]> git.ipfire.org Git - thirdparty/pdns.git/commit
FDWrapper: Always reset the internal descriptor to -1 14006/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 2 Apr 2024 07:54:15 +0000 (09:54 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 2 Apr 2024 07:54:15 +0000 (09:54 +0200)
commiteefbe57feca72af4a088e8e872e864dc36e9284e
tree412f43ef6d9e8effd818e997e81736e7d49b9877
parentef1e068d55f2247ff416204cebbbb96063a175c2
FDWrapper: Always reset the internal descriptor to -1

Even if it was a different negative value, which happens for example
with the bpf helper functions which return `-errno`.
pdns/misc.hh