[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] Changes to ccvs/lib/canon-host.c
From: |
Larry Jones |
Subject: |
[Cvs-cvs] Changes to ccvs/lib/canon-host.c |
Date: |
Sat, 10 Sep 2005 14:09:59 -0400 |
Index: ccvs/lib/canon-host.c
diff -u ccvs/lib/canon-host.c:1.2 ccvs/lib/canon-host.c:1.3
--- ccvs/lib/canon-host.c:1.2 Tue Sep 6 04:50:04 2005
+++ ccvs/lib/canon-host.c Sat Sep 10 18:09:57 2005
@@ -72,10 +72,11 @@
canon_host_r (char const *host, int *cherror)
{
char *retval = NULL;
- static struct addrinfo hints = { .ai_flags = AI_CANONNAME, };
+ static struct addrinfo hints;
struct addrinfo *res = NULL;
int status;
+ hints.ai_flags = AI_CANONNAME;
status = getaddrinfo (host, NULL, &hints, &res);
if (!status)
{