Re: Leafnode cannot find the host

Cecil Westerhof <[email protected]> Wed, 10 Jul 2013 07:00:36 +0200
Newsgroups gmane.network.leafnode
Message-ID <CAG-LmmBSBW_3RTDQoqdRMxxsVprCu_HUD-Ks48F=Hci0oFO=1Q@mail.gmail.com>
2013/7/10 Matthias Andree <[email protected]>:
> Cecil Westerhof wrote:
>
>> I did everything you said, but ltrace revealed the bug. So I do not
>> think the other information is interesting any-more.
>
> Well, the leafnode version is always interesting, but thanks for
> pointing me in the right direction.

leafnode-1.11.8


>> You can use:
>>     server = news.kpn.nl
>>
>> But when you use:
>>     server = news.kpn.nl # some comment
>>
>> you got the error I mentioned. So I think leafnode should be amended
>> to handle comments correctly.
>
> Cecil,
>
> I have found the bug; whitespace between the value and comment are not
> stripped in leafnode versions up to 1.11.10, or leafnode 2 alphas
> released before today, 2013-07-10.

Releases are fast. I do not think that mine is very old, but there are
already two others. ;-)
I can not find the difference between leafnode 1 and 2. (Besides 2
will have more features.)


> Fix committed to Git for leafnode-1 and leafnode-2, to appear in the
> respective next releases.
>
>
> Workaround possibilities for older versions:
>
> server = "news.kpn.nl" # some comment
> (quote the value)
>
> server = news.kpn.nl# some comment
> (no whitespace before the comment)
>
> # comment before the server line:
> server = news.kpn.nl
>
>
> Thanks for the bug report!

You are welcome. :-D


-- 
Cecil Westerhof