diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-01-19 15:50:05 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-01-19 15:50:05 -0500 |
commit | 86e9235918a715095a1f5bb1c1db28fae7fca22b (patch) | |
tree | 9fc6f3df44296b5555cd4069432ef09dcaf7f4cf /sysdeps/posix/getaddrinfo.c | |
parent | c5be0f71d9cac2f9bf0b01bb4b0221ddb6504969 (diff) | |
download | glibc-86e9235918a715095a1f5bb1c1db28fae7fca22b.tar.gz |
Fix decoding of canonical name in getaddrinfo.
Diffstat (limited to 'sysdeps/posix/getaddrinfo.c')
-rw-r--r-- | sysdeps/posix/getaddrinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index 126a09ea33..c61c72a24a 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -965,6 +965,7 @@ gaih_inet (const char *name, const struct gaih_service *service, make a copy. */ if (out == canon) goto make_copy; + canon = out; } else #endif |