]> git.ipfire.org Git - thirdparty/systemd.git/commit
socket-util: reset length argument for second getsockopt call in fd_[gs]et_rcvbuf
authorChristian Göttsche <cgzones@googlemail.com>
Mon, 14 Sep 2020 17:40:42 +0000 (19:40 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 15 Sep 2020 00:35:36 +0000 (09:35 +0900)
commit67f5ae2d6986d0271fa6223a68fe0104957de863
tree9bdc3ee2d84ad657f94deda1f3f2b77e5a506d05
parent3c460bfde696792b93cc3989f0e6082f51d9a174
socket-util: reset length argument for second getsockopt call in fd_[gs]et_rcvbuf

In case the first getsockopt() call changes the value.
src/basic/socket-util.c