summaryrefslogtreecommitdiff
path: root/src/dnstlsa.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 19:03:11 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 19:03:11 +0200
commit20b85c03e751b4876fa3c92040464e483172b746 (patch)
tree734fadbfdbc143ec4465093857f4c239448715e0 /src/dnstlsa.c
parenta6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (diff)
manual format adjustment
Diffstat (limited to 'src/dnstlsa.c')
-rw-r--r--src/dnstlsa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dnstlsa.c b/src/dnstlsa.c
index 284f7d1..715bde1 100644
--- a/src/dnstlsa.c
+++ b/src/dnstlsa.c
@@ -52,8 +52,9 @@ int main(int argc, char **argv)
DNS_INIT
if (dns_cname(&cn, &sa) > 0) {
if ((r = dns_tlsa(&out, &cn)) < 0) _exit(1);
- } else if ((r = dns_tlsa(&out, &sa)) < 0)
+ } else if ((r = dns_tlsa(&out, &sa)) < 0) {
_exit(1);
+ }
if (!stralloc_0(&sa)) logmsg(WHO, 111, FATAL, "out of memory");
if (verbose) logmsg(WHO, 0, INFO, B("checking for TLSA records: ", sa.s, "\n"));
@@ -76,7 +77,7 @@ int main(int argc, char **argv)
if (type == 2) buffer_puts(buffer_1, "Type: [2] "); // sha512
/* Staff of Ra
- "(is) six kadams high." However, the builder (h)as
+ "(is) six kadams high." However, the builder (h)as
to subtract one kadam out of respect for the Hebrew God. */
for (j = i + 3, k = 0; j <= out.len; ++j) {