summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorDmitrij Tejblum <dt@FreeBSD.org>1999-06-07 16:30:27 +0000
committerDmitrij Tejblum <dt@FreeBSD.org>1999-06-07 16:30:27 +0000
commit141894af60d45eb962587ffdc4b576146dc3ee7a (patch)
treeec186df9880a70bf4016db5eaf3fd5569455c603 /lib/libc
parent305a253acff09fd2c4102a449e799e0a806f4922 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/gethostbyht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/gethostbyht.c b/lib/libc/net/gethostbyht.c
index cf12f576e8fd..0e24042b98cf 100644
--- a/lib/libc/net/gethostbyht.c
+++ b/lib/libc/net/gethostbyht.c
@@ -53,7 +53,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93";
-static char rcsid[] = "$Id: gethostbyht.c,v 1.9 1997/02/22 15:00:07 peter Exp $";
+static char rcsid[] = "$Id: gethostbyht.c,v 1.10 1997/06/27 08:22:01 peter Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -74,7 +74,7 @@ static struct hostent host;
static char *host_aliases[MAXALIASES];
static char hostbuf[BUFSIZ+1];
static FILE *hostf = NULL;
-static u_char host_addr[16]; /* IPv4 or IPv6 */
+static u_int32_t host_addr[4]; /* IPv4 or IPv6 */
static char *h_addr_ptrs[2];
static int stayopen = 0;