blob: a8a9a2190f28bb65d42a4147bc18d06ee9bcb31c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
$NetBSD: patch-ac,v 1.1 2000/08/10 18:28:33 fredb Exp $
--- WWW/Library/Implementation/HTTCP.c.orig Thu Aug 10 11:29:28 2000
+++ WWW/Library/Implementation/HTTCP.c Thu Aug 10 12:12:47 2000
@@ -1431,6 +1431,7 @@
}
}
+#ifdef INET6
PRIVATE struct addrinfo *
HTGetAddrInfo ARGS2(
CONST char *, str,
@@ -1472,6 +1473,8 @@
return res;
}
+#endif /* INET6 */
+
#ifdef LY_FIND_LEAKS
/* Free our name for the host on which we are - FM
** -------------------------------------------
@@ -1933,7 +1936,7 @@
if (*s < 0) {
#else
if (status < 0) {
-#endif /* INET6
+#endif /* INET6 */
/*
** The connect attempt failed or was interrupted,
** so close up the socket.
|