summaryrefslogtreecommitdiff
path: root/src/dnsdoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnsdoe.c')
-rw-r--r--src/dnsdoe.c10
1 files changed, 6 insertions, 4 deletions
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 <unistd.h>
+
#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);
}
}