[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] More old crap: "servers" entry in mts.conf
From: |
Peter Maydell |
Subject: |
Re: [Nmh-workers] More old crap: "servers" entry in mts.conf |
Date: |
Tue, 13 Jan 2009 18:28:05 +0000 |
Ken Hornstein wrote:
>So I was wallowing through sbr/client.c, and I came across some weird
>code that kicks into place when you prefix a \01 in front of a hostname
>in the "servers" line in mts.conf. It turns out that when you do that,
>the code in client.c calls getnetbyname() on this name and then
>iterates over all of the hosts available (using gethostent()) and tries
>to connect to every server on the named network.
Yuck, embedded non-printable characters?! Please do get rid of this.
I can't say it seems very useful (how hard can it be to just list the
servers to try explicitly?)
-- PMM