Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2010 11:03:27 +0800
From:      Earl Lapus <earl.lapus@gmail.com>
To:        Hajimu UMEMOTO <ume@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: [ping6] freeaddrinfo()
Message-ID:  <604f76121003152003i463454b4n686c580ca5e3a66b@mail.gmail.com>
In-Reply-To: <ygeeijlzi11.wl%ume@mahoroba.org>
References:  <604f76121003130425u62764f59wa88b398f15540b61@mail.gmail.com> <ygeeijlzi11.wl%ume@mahoroba.org>

index | next in thread | previous in thread | raw e-mail

On Tue, Mar 16, 2010 at 12:06 AM, Hajimu UMEMOTO <ume@freebsd.org> wrote:
>
> Yup, it should be good practice.  But, this is rather intentional.
> The `hostname' variable points to res->ai_canonname, and is used
> later.  This is why the `res' variable is declared globally.
>
> Sincerely,
>

I see. I was unable to see that one.
Thanks.

-- 
There are seven words in this sentence.


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?604f76121003152003i463454b4n686c580ca5e3a66b>