summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-07-03 02:33:02 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-07-03 02:33:02 +0000
commitdc578f2564fae6ef712bf6c8f228078a80aa5569 (patch)
tree1663d9b911cca0dc870f36742fbcdd868835a47e /lib/libc
parenta5dbb3f4b7dd7bc98eb50abeaff76d509e083070 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/name6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c
index 32fe460f4155..2368d8235b2a 100644
--- a/lib/libc/net/name6.c
+++ b/lib/libc/net/name6.c
@@ -1185,7 +1185,7 @@ getanswer(answer, anslen, qname, qtype, template, errp)
continue;
}
strcpy(bp, tbuf);
- tname = bp;
+ template->h_name = bp;
bp += n;
buflen -= n;
continue;