On Mon, 15 Jan 2024 17:43:12 +0100, Florian Obser wrote:

> oops, this seems to be better.

I have the same diff.  OK millert@

 - todd

>
> OK?
>
> diff --git getaddrinfo_async.c getaddrinfo_async.c
> index a1282e711cd..6d940b0d64e 100644
> --- getaddrinfo_async.c
> +++ getaddrinfo_async.c
> @@ -258,7 +258,8 @@ getaddrinfo_async_run(struct asr_query *as, struct asr_re
> sult *ar)
>                                           !is_localhost) ? "::" : "::1";
>                                /* This can't fail */
>                               _asr_sockaddr_from_str(&sa.sa, family, str);
> -                             if ((r = addrinfo_add(as, &sa.sa, NULL))) {
> +                             if ((r = addrinfo_add(as, &sa.sa,
> +                                 "localhost"))) {
>                                       ar->ar_gai_errno = r;
>                                       break;
>                               }
>
>
> -- 
> In my defence, I have been left unsupervised.

Reply via email to