Merge beta26 changes

This commit is contained in:
peter 1995-10-23 16:07:56 +00:00
parent a78182e121
commit 4f4c04df0f

View File

@ -67,7 +67,7 @@ char copyright[] =
*/ */
#ifndef lint #ifndef lint
static char rcsid[] = "$Id: host.c,v 1.3 1995/05/30 06:30:50 rgrimes Exp $"; static char rcsid[] = "$Id: host.c,v 1.4 1995/08/20 22:32:57 peter Exp $";
#endif /* not lint */ #endif /* not lint */
#include <sys/types.h> #include <sys/types.h>
@ -125,6 +125,7 @@ char *pr_class(), *pr_rr(), *pr_type();
extern char *hostalias(); extern char *hostalias();
main(c, v) main(c, v)
int c;
char **v; char **v;
{ {
unsigned addr; unsigned addr;
@ -242,6 +243,7 @@ main(c, v)
printf("Too many cnames. Possible loop.\n"); printf("Too many cnames. Possible loop.\n");
exit(1); exit(1);
} }
strcat(cname, ".");
oldcname = cname; oldcname = cname;
hp = NULL; hp = NULL;
h_errno = TRY_AGAIN; h_errno = TRY_AGAIN;
@ -539,6 +541,7 @@ getdomaininfo(name, domain)
getinfo(name, domain, type) getinfo(name, domain, type)
char *name, *domain; char *name, *domain;
int type;
{ {
HEADER *hp; HEADER *hp;