summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-07 07:49:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-07 07:49:04 +0000
commit93a0c92573a551bbe49ca24721d08094be1b29c9 (patch)
treed1d627e7b3690b3be0e594a38d433631160409c2
parent43a17c4b64eaa7019dceb70520adbb8d9dc7f369 (diff)
fix DNS; all this is due for squishing in a few days anyways, i suspect; fujiwara@rcac.tdi.co.jp
-rw-r--r--lib/libc/net/getaddrinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c
index 20946923395..5f3fa20c3a7 100644
--- a/lib/libc/net/getaddrinfo.c
+++ b/lib/libc/net/getaddrinfo.c
@@ -381,6 +381,7 @@ gaih_inet(const char *name, const struct gaih_service *service,
}
build:
+ at2 = at;
while (at2) {
if (req->ai_flags & AI_CANONNAME) {
if (at2->cname)