diff options
author | deraadt <> | 1999-12-07 07:49:03 +0000 |
---|---|---|
committer | deraadt <> | 1999-12-07 07:49:03 +0000 |
commit | 1eee4d1967ee7c7c3b3fa499a7666c5ba46dc0c4 (patch) | |
tree | 0878e762b6e3920fe625685a6dcf0dd208436d4e /src | |
parent | 606d1f0e4a4c5dd05abe03abec1c773ac4ba0726 (diff) | |
download | openbsd-1eee4d1967ee7c7c3b3fa499a7666c5ba46dc0c4.tar.gz openbsd-1eee4d1967ee7c7c3b3fa499a7666c5ba46dc0c4.tar.bz2 openbsd-1eee4d1967ee7c7c3b3fa499a7666c5ba46dc0c4.zip |
fix DNS; all this is due for squishing in a few days anyways, i suspect; fujiwara@rcac.tdi.co.jp
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libc/net/getaddrinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/libc/net/getaddrinfo.c b/src/lib/libc/net/getaddrinfo.c index 2094692339..5f3fa20c3a 100644 --- a/src/lib/libc/net/getaddrinfo.c +++ b/src/lib/libc/net/getaddrinfo.c | |||
@@ -381,6 +381,7 @@ gaih_inet(const char *name, const struct gaih_service *service, | |||
381 | } | 381 | } |
382 | 382 | ||
383 | build: | 383 | build: |
384 | at2 = at; | ||
384 | while (at2) { | 385 | while (at2) { |
385 | if (req->ai_flags & AI_CANONNAME) { | 386 | if (req->ai_flags & AI_CANONNAME) { |
386 | if (at2->cname) | 387 | if (at2->cname) |