diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-12-04 19:26:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-12-07 17:16:29 +0100 |
commit | b27a32a0def7dfd32aa9c311cdf14fd90b8d1297 (patch) | |
tree | ef08947e1f8e0f334552e54a07617a2e1e57a89e /src/resolve/resolved-dns-stream.c | |
parent | 08e254c8184e03eafab1d06703ac0078a044b80f (diff) | |
download | systemd-b27a32a0def7dfd32aa9c311cdf14fd90b8d1297.tar.gz |
resolved: line split dns_stream_new() function signature
Diffstat (limited to 'src/resolve/resolved-dns-stream.c')
-rw-r--r-- | src/resolve/resolved-dns-stream.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-stream.c b/src/resolve/resolved-dns-stream.c index 0112e301ac..7473cc40a4 100644 --- a/src/resolve/resolved-dns-stream.c +++ b/src/resolve/resolved-dns-stream.c @@ -455,7 +455,13 @@ static DnsStream *dns_stream_free(DnsStream *s) { DEFINE_TRIVIAL_REF_UNREF_FUNC(DnsStream, dns_stream, dns_stream_free); -int dns_stream_new(Manager *m, DnsStream **ret, DnsProtocol protocol, int fd, const union sockaddr_union *tfo_address) { +int dns_stream_new( + Manager *m, + DnsStream **ret, + DnsProtocol protocol, + int fd, + const union sockaddr_union *tfo_address) { + _cleanup_(dns_stream_unrefp) DnsStream *s = NULL; int r; |