resolve: several follow-ups for ac6844460ca1c01eaf2cb209ffa21c200d21a8f8
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 6 Jan 2024 18:57:11 +0000 (03:57 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Jan 2024 04:13:11 +0000 (13:13 +0900)
commitc08fd7becae0996ef87d4cef53167fe6c637667e
treedf743dc97f0a1fc2bbdd3fd056b68780b9464a3a
parent71682ac6bb6579376ad4be55c93bbab4e5ad7714
resolve: several follow-ups for ac6844460ca1c01eaf2cb209ffa21c200d21a8f8

- fix indentation,
- drop incorrect comment, dns_packet_ede_rcode() can handle unknown EDE rcode.
- 0 is a valid EDE rcode,
- DnsTransaction.answer_ede_msg may be NULL, so needs to use strempty()
  on logging,
- drop redundant ede_rcode temporary variable.

Follow-up for ac6844460ca1c01eaf2cb209ffa21c200d21a8f8.
src/resolve/resolved-dns-transaction.c