diff options
| author | Bill Fenner <fenner@FreeBSD.org> | 1996-11-22 18:07:52 +0000 |
|---|---|---|
| committer | Bill Fenner <fenner@FreeBSD.org> | 1996-11-22 18:07:52 +0000 |
| commit | 207002ac9e1a5b2a692a934c10f811ddd94ac66c (patch) | |
| tree | 038d8b5984813fdee0fb2fef2683ee2256e09f44 | |
| parent | 29388f8fe8f0e2d601ecf83754994fd0412df84d (diff) | |
Notes
| -rw-r--r-- | lib/libc/net/gethostbydns.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/net/gethostbydns.c b/lib/libc/net/gethostbydns.c index a5d965d0d75a..00a0aa5454e1 100644 --- a/lib/libc/net/gethostbydns.c +++ b/lib/libc/net/gethostbydns.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: gethostbydns.c,v 1.4.4.4 1996/06/06 00:05:42 nate Exp $"; +static char rcsid[] = "$Id: gethostbydns.c,v 1.4.4.5 1996/11/20 18:36:37 pst Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -392,6 +392,8 @@ _gethostbydnsname(name) return (NULL); } + host.h_length = INT32SZ; + /* * if there aren't any dots, it could be a user-level alias. * this is also done in res_query() since we are not the only |
