+2005-06-24 Paul Eggert <eggert@cs.ucla.edu>
+
+ * canon-host.c (canon-host): Append trailing "," to 0 in
+ initializer of struct addrinfo, as an indication that we don't
+ care how many members the structure has.
+
2005-06-24 Derek Price <derek@ximbiot.com>
and Bruno Haible <bruno@clisp.org>
/* 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>
#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)