diff options
author | David Tardon <dtardon@redhat.com> | 2021-03-18 12:54:48 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2021-03-18 13:19:13 +0100 |
commit | eba1eb9066e4f633733b0a0a8f817bad410b7e9d (patch) | |
tree | a66b16de898ca7a0f248e180e4a686ce03c098ac /src/resolve | |
parent | resolved-dns-rr: use already existing variable (diff) | |
download | systemd-eba1eb9066e4f633733b0a0a8f817bad410b7e9d.tar.xz systemd-eba1eb9066e4f633733b0a0a8f817bad410b7e9d.zip |
resolved-dns-rr: drop unneeded braces
Diffstat (limited to 'src/resolve')
-rw-r--r-- | src/resolve/resolved-dns-rr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resolve/resolved-dns-rr.c b/src/resolve/resolved-dns-rr.c index ffb1605c4c..5b0e601e97 100644 --- a/src/resolve/resolved-dns-rr.c +++ b/src/resolve/resolved-dns-rr.c @@ -1136,7 +1136,7 @@ const char *dns_resource_record_to_string(DnsResourceRecord *rr) { break; - case DNS_TYPE_OPENPGPKEY: { + case DNS_TYPE_OPENPGPKEY: r = asprintf(&s, "%s", k); if (r < 0) return NULL; @@ -1147,7 +1147,6 @@ const char *dns_resource_record_to_string(DnsResourceRecord *rr) { if (r < 0) return NULL; break; - } default: t = hexmem(rr->generic.data, rr->generic.data_size); |