diff options
Diffstat (limited to 'lib/bind9/getaddresses.c')
-rw-r--r-- | lib/bind9/getaddresses.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/bind9/getaddresses.c b/lib/bind9/getaddresses.c index a75e14ef650e..c4f8decb572f 100644 --- a/lib/bind9/getaddresses.c +++ b/lib/bind9/getaddresses.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005, 2007, 2014 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2001, 2002 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -107,7 +107,7 @@ bind9_getaddresses(const char *hostname, in_port_t port, result = isc_netscope_pton(AF_INET6, d + 1, &in6, &zone); - + if (result != ISC_R_SUCCESS) return (result); #else @@ -129,7 +129,6 @@ bind9_getaddresses(const char *hostname, in_port_t port, *addrcount = 1; return (ISC_R_SUCCESS); - } } #ifdef USE_GETADDRINFO |