* gai_strerror.c: Include config.h when available. Include
[gnulib.git] / lib / canon-host.c
index fb6621c..0d469ba 100644 (file)
@@ -1,6 +1,6 @@
 /* Host name canonicalization
 
-   Copyright (C) 1995, 1999, 2000, 2002, 2003, 2004 Free Software
+   Copyright (C) 1995, 1999, 2000, 2002, 2003, 2004, 2005 Free Software
    Foundation, Inc.
 
    Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -17,7 +17,7 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software Foundation,
-   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #ifdef HAVE_CONFIG_H
 # include <config.h>
@@ -54,7 +54,7 @@ canon_host (char const *host)
 
 #if HAVE_GETADDRINFO
   {
-    struct addrinfo hint = { 0 };
+    struct addrinfo hint = { 0, };
     struct addrinfo *res = NULL;
     hint.ai_flags = AI_CANONNAME;
     if (getaddrinfo (host, NULL, &hint, &res) == 0)