diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2004-02-28 12:20:24 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2004-02-28 12:20:24 +0000 |
commit | 2b7bc924c4ff451bcb8e6c910ed3f52cdafc6ec2 (patch) | |
tree | 87534523c315caa4504e217e1b0011bf4a073fad /regress/lib/libc/getaddrinfo/gaitest.c | |
parent | d98d79d6cbc84f60f7f3eb7f48d2b058efc27aca (diff) |
do not test ai_canonname, as ai_canonname can be vary by /etc/hosts.
Diffstat (limited to 'regress/lib/libc/getaddrinfo/gaitest.c')
-rw-r--r-- | regress/lib/libc/getaddrinfo/gaitest.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libc/getaddrinfo/gaitest.c b/regress/lib/libc/getaddrinfo/gaitest.c index a54681b1573..47d0a0a316b 100644 --- a/regress/lib/libc/getaddrinfo/gaitest.c +++ b/regress/lib/libc/getaddrinfo/gaitest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gaitest.c,v 1.3 2003/09/02 23:52:16 david Exp $ */ +/* $OpenBSD: gaitest.c,v 1.4 2004/02/28 12:20:23 itojun Exp $ */ /* $NetBSD: gaitest.c,v 1.3 2002/07/05 15:47:43 itojun Exp $ */ /* @@ -95,8 +95,10 @@ print1(title, res, h, s) printf("%shost %s%s", start, h, end); printf("%sserv %s%s", start, s, end); } +#if 0 if (res->ai_canonname) printf("%scname \"%s\"%s", start, res->ai_canonname, end); +#endif if (!vflag) printf("\n"); |