summaryrefslogtreecommitdiff
path: root/usr.bin/host
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1995-10-23 16:07:56 +0000
committerPeter Wemm <peter@FreeBSD.org>1995-10-23 16:07:56 +0000
commitd8ae52dc798b55a23044d44ead542222571f3874 (patch)
tree25fc528e6437f11cc479641dadbdaf468f6518dd /usr.bin/host
parent99bf54399a17488f074466e527df2ca940edb86c (diff)
downloadsrc-test-d8ae52dc798b55a23044d44ead542222571f3874.tar.gz
src-test-d8ae52dc798b55a23044d44ead542222571f3874.zip
Merge beta26 changes
Notes
Notes: svn path=/head/; revision=11726
Diffstat (limited to 'usr.bin/host')
-rw-r--r--usr.bin/host/host.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/host/host.c b/usr.bin/host/host.c
index 22839c3b76d48..d43823c3e4bcb 100644
--- a/usr.bin/host/host.c
+++ b/usr.bin/host/host.c
@@ -67,7 +67,7 @@ char copyright[] =
*/
#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 */
#include <sys/types.h>
@@ -125,6 +125,7 @@ char *pr_class(), *pr_rr(), *pr_type();
extern char *hostalias();
main(c, v)
+ int c;
char **v;
{
unsigned addr;
@@ -242,6 +243,7 @@ main(c, v)
printf("Too many cnames. Possible loop.\n");
exit(1);
}
+ strcat(cname, ".");
oldcname = cname;
hp = NULL;
h_errno = TRY_AGAIN;
@@ -539,6 +541,7 @@ getdomaininfo(name, domain)
getinfo(name, domain, type)
char *name, *domain;
+ int type;
{
HEADER *hp;