From a6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Wed, 3 Jul 2024 15:52:39 +0200 Subject: format files --- src/dnsdoe.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/dnsdoe.c') diff --git a/src/dnsdoe.c b/src/dnsdoe.c index ad6b253..579eb04 100644 --- a/src/dnsdoe.c +++ b/src/dnsdoe.c @@ -1,14 +1,16 @@ #include + #include "buffer.h" -#include "exit.h" #include "dnsresolv.h" +#include "exit.h" + #include "dns.h" void dnsdoe(int r) { switch (r) { - case DNS_HARD: buffer_putsflush(buffer_2,"hard error\n"); _exit(100); - case DNS_SOFT: buffer_putsflush(buffer_2,"soft error\n"); _exit(111); - case DNS_MEM: buffer_putsflush(buffer_2,"out of memory\n"); _exit(111); + case DNS_HARD: buffer_putsflush(buffer_2, "hard error\n"); _exit(100); + case DNS_SOFT: buffer_putsflush(buffer_2, "soft error\n"); _exit(111); + case DNS_MEM: buffer_putsflush(buffer_2, "out of memory\n"); _exit(111); } } -- cgit v1.2.3