bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [PATCH] TLS SNI support


From: Phil Pennock
Subject: Re: [Bug-wget] [PATCH] TLS SNI support
Date: Wed, 1 Apr 2009 13:44:46 -0700

On 2009-04-01 at 09:51 +0200, Petr Pisar wrote:
> > +/* Determine whether or not a hostname is an IP address that we recognise. 
> > */
> > +bool
> > +is_ip_address (const char *name)
> > +{
> > +  const char *endp;
> > +
> > +  endp = name + strlen(name);
> > +  if (is_valid_ipv4_address(name, endp))
> > +    return true;
> > +#ifdef ENABLE_IPV6
> > +  if (is_valid_ipv4_address(name, endp))
>                   ^^^^
> is_valid_ipv6_address() should be called here.

Good catch, thanks.  Typotastic.

Is the protocol to submit a new patch with this fixed or to just declare
this so simple that the committer fixes it up?

-Phil

Attachment: pgpLxpOetfIMB.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]