summaryrefslogtreecommitdiff
path: root/lib/canon-host.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/canon-host.c')
-rw-r--r--lib/canon-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/canon-host.c b/lib/canon-host.c
index f665d9fbd1..900247865d 100644
--- a/lib/canon-host.c
+++ b/lib/canon-host.c
@@ -68,7 +68,7 @@ canon_host_r (char const *host, int *cherror)
status = getaddrinfo (host, NULL, &hints, &res);
if (!status)
{
- /* https://lists.gnu.org/archive/html/bug-coreutils/2006-09/msg00300.html
+ /* https://lists.gnu.org/r/bug-coreutils/2006-09/msg00300.html
says Darwin 7.9.0 getaddrinfo returns 0 but sets
res->ai_canonname to NULL. */
retval = strdup (res->ai_canonname ? res->ai_canonname : host);