[patch] dns.c: missing break in a_Dns_dillohost_to_string

[email protected]
Newsgroups gmane.comp.web.dillo.devel
Message-ID <20121220162041.GA7446@darkstar>
Fix is attached.

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
dns.patch (text/plain, 404 B)
# HG changeset patch
# Parent 716dac24b87237b93b588887df378f336fc90e43

diff -r 716dac24b872 src/dns.c
--- a/src/dns.c
+++ b/src/dns.c
@@ -527,8 +527,10 @@
       switch (errno) {
          case EAFNOSUPPORT:
             snprintf(dst, size, "Unknown address family");
+            break;
          case ENOSPC:
             snprintf(dst, size, "Buffer too small");
+            break;
       }
    }
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.