mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 06:20:06 +00:00
getcanonname: Fix a typo
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>
This commit is contained in:
parent
e7190fc73d
commit
3bf7bab88b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user