Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2017 07:07:05 -0700
From:      Ngie Cooper <yaneurabeya@gmail.com>
To:        =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r308996 - head/lib/libfetch
Message-ID:  <92F67C24-E539-4810-9014-DCC019DD0CBB@gmail.com>
In-Reply-To: <86shmid9ct.fsf@desk.des.no>
References:  <201611221330.uAMDU7fg052989@repo.freebsd.org> <93505FD7-FB42-4BD5-834C-6F73EFD9B1CF@gmail.com> <86shmid9ct.fsf@desk.des.no>

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


> On Mar 12, 2017, at 04:26, Dag-Erling Smørgrav <des@des.no> wrote:
> 
> "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com> writes:
>> Hi Bjoern,
> 
> No, that was my father :)

:D..

>>    Shouldn’t this be strrchr instead of strchr since you’re
>> scanning for the service from the right side of the host,
>> e.g. “foo:service” or “[::1]:service”? This code would match index 3
>> in the first example, but it would match index 2 in the second
>> example.
> 
> Correct, although it may be slightly more complicated, which is why I
> didn't immediately jump on it when bz@ pointed it out.  I'm working on
> it right now.

Awesome! Great teamwork!
-Ngie


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92F67C24-E539-4810-9014-DCC019DD0CBB>