Even after looking at getline(), I have absolutely no idea what this
code was supposed to be doing.  It's almost certainly wrong, so I've
commented it out for now.

     Any ideas?

Randy

------------------------------------------------------------------------------
static int
process_input(char *basename, Module *mod, Parameter **in, Parameter **out)
{
...
    char      *line, *name, *value;
...
    while (NULL != (line = getline(fd)))
    { 
...
       if (line[-1] == -1)               <------------ ?
           goto error;                   <
------------------------------------------------------------------------------

-- 
Randall Hopper
[EMAIL PROTECTED]

Reply via email to