aboutsummaryrefslogtreecommitdiff
path: root/src/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns.c')
-rw-r--r--src/dns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dns.c b/src/dns.c
index c24838e3..7ae19fe4 100644
--- a/src/dns.c
+++ b/src/dns.c
@@ -527,8 +527,10 @@ void a_Dns_dillohost_to_string(DilloHost *host, char *dst, size_t size)
switch (errno) {
case EAFNOSUPPORT:
snprintf(dst, size, "Unknown address family");
+ break;
case ENOSPC:
snprintf(dst, size, "Buffer too small");
+ break;
}
}
}