Russell Nelson wrote:
> That's how control.c:control_readfile() works:
>    if (line.s[0])
>      if (line.s[0] != '#')
>        if (!stralloc_cat(sa,&line)) break;

Right now, it drops all lines starting with a #, so, as far as I can
see, it is not affected of the problem that had to be patched in
qmail-lint, right?

Well, shouldn't the snippet above be modified to discard the rest of a
line if a '#' sign is found (so, # declares a comment, no matter where
it's located)?

I'm curious about this, for I am currently writing a tool to spawn mail
to a list of recipients retrieved from a MySQL database. I was just
looking into control.c to find out what exactly control_readfile does,
as this mail came in ;-)

Matthias
-- 
   w e b f a c t o r y | matthias pigulla
      www.webfactory.de  [EMAIL PROTECTED]

Reply via email to