diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1996-12-27 18:21:07 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1996-12-27 18:21:07 +0000 |
| commit | 3951b8e32c209792888f07b4511810e03ac61278 (patch) | |
| tree | 775c627300a0c60282f7459ec5e82dbc339a1dd7 /lib/libc/net/gethostbynis.c | |
| parent | f9abc058e45f584f9b4887dc77a34e3f784f65b4 (diff) | |
Notes
Diffstat (limited to 'lib/libc/net/gethostbynis.c')
| -rw-r--r-- | lib/libc/net/gethostbynis.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/gethostbynis.c b/lib/libc/net/gethostbynis.c index c1f15e6e309a..fa82d502812e 100644 --- a/lib/libc/net/gethostbynis.c +++ b/lib/libc/net/gethostbynis.c @@ -24,8 +24,8 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)$Id: gethostbynis.c,v 1.4 1996/08/29 20:07:54 peter Exp $"; -static char rcsid[] = "$Id: gethostbynis.c,v 1.4 1996/08/29 20:07:54 peter Exp $"; +static char sccsid[] = "@(#)$Id: gethostbynis.c,v 1.5 1996/12/24 17:01:49 wpaul Exp $"; +static char rcsid[] = "$Id: gethostbynis.c,v 1.5 1996/12/24 17:01:49 wpaul Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -65,7 +65,7 @@ _gethostbynis(name, map, af) int resultlen; static struct hostent h; static char *domain = (char *)NULL; - static char ypbuf[YPMAXRECORD]; + static char ypbuf[YPMAXRECORD + 2]; switch(af) { case AF_INET: |
