diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-29 11:21:37 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-12-29 11:21:37 +0100 |
commit | 41733ae1e0035c538505bc5be1ca5d67a80b4a82 (patch) | |
tree | a350744ec31d2b63fe6860b110a419c78d995a5e /tools | |
parent | 56a9366d7d80a8bbb0d3c1c7009c86ce3af0b18a (diff) |
core: fix sockaddr length calculation for sockaddr_pretty() (#4966)
Let's simply store the socket address length in the SocketPeer object so
that we can use it when invoking sockaddr_pretty():
This fixes the issue described in #4943, but avoids calling
getpeername() twice.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions