diff options
Diffstat (limited to 'lib/libc/net/name6.c')
-rw-r--r-- | lib/libc/net/name6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c index 32fe460..2368d82 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; |