summaryrefslogtreecommitdiffstats
path: root/usr.bin/host
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-10-23 16:07:56 +0000
committerpeter <peter@FreeBSD.org>1995-10-23 16:07:56 +0000
commit4f4c04df0f3dc417142f0256f38209ebb6ad701a (patch)
tree25fc528e6437f11cc479641dadbdaf468f6518dd /usr.bin/host
parenta78182e121fa3b6b56bdb39f23d5269268f17685 (diff)
downloadFreeBSD-src-4f4c04df0f3dc417142f0256f38209ebb6ad701a.zip
FreeBSD-src-4f4c04df0f3dc417142f0256f38209ebb6ad701a.tar.gz
Merge beta26 changes
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 22839c3..d43823c 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;
OpenPOWER on IntegriCloud