projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7190fc
)
getcanonname: Fix a typo
author
Siddhesh Poyarekar
<siddhesh@sourceware.org>
Tue, 5 Sep 2023 21:04:05 +0000
(17:04 -0400)
committer
Siddhesh Poyarekar
<siddhesh@sourceware.org>
Tue, 5 Sep 2023 21:04:05 +0000
(17:04 -0400)
This code is generally unused in practice since there don't seem to be
any NSS modules that only implement _nss_MOD_gethostbyname2_r and not
_nss_MOD_gethostbyname3_r.
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
sysdeps/posix/getaddrinfo.c
patch
|
blob
|
history
diff --git
a/sysdeps/posix/getaddrinfo.c
b/sysdeps/posix/getaddrinfo.c
index 0356b622be6dda5e6ac9bf70c9813cc1351a0b81..d17b97d79a6ab6c45bf831f15fe13cc0c8b02288 100644
(file)
--- a/
sysdeps/posix/getaddrinfo.c
+++ b/
sysdeps/posix/getaddrinfo.c
@@
-337,7
+337,7
@@
getcanonname (nss_action_list nip, struct gaih_addrtuple *at, const char *name)
string. */
s = (char *) name;
}
- return __strdup (
name
);
+ return __strdup (
s
);
}
/* Process looked up canonical name and if necessary, decode to IDNA. Result