summaryrefslogtreecommitdiffstats
path: root/src/resolve
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-03 23:51:21 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-10 00:46:44 +0200
commit44ab234734907dbf08fae80a57dae01d9f0b2d0f (patch)
treeb20b47b47c8c2baa1c61c2ec7ef36b5a95b6d0bf /src/resolve
parentshared: make socket_address_parse use the generic parser for IPv[46] addresses (diff)
downloadsystemd-44ab234734907dbf08fae80a57dae01d9f0b2d0f.tar.xz
systemd-44ab234734907dbf08fae80a57dae01d9f0b2d0f.zip
shared: don't unconditionally set SOCK_STREAM as type in socket_address_parse()
We would set .type to a fake value. All real callers (outside of tests) immediately overwrite .type with a proper value after calling socket_address_parse(). So let's not set it and adjust the few places that relied on it being set to the fake value. socket_address_parse() is modernized to only set the output argument on success.
Diffstat (limited to 'src/resolve')
0 files changed, 0 insertions, 0 deletions