char *line;
/* The lines are being read with read_whole_line because of
no-buffering on opt.lfile. */
- while ((line = read_whole_line (fp)))
+ while ((line = read_whole_line (fp)) != NULL)
{
logprintf (LOG_ALWAYS, "%s\n", escnonprint (line));
xfree (line);
return RETRBADPATTERN;
}
}
- res = RETROK;
if (start)
{
/* Just get everything. */
con.rs = ST_UNIX;
con.id = NULL;
con.proxy = proxy;
- res = RETROK; /* in case it's not used */
/* If the file name is empty, the user probably wants a directory
index. We'll provide one, properly HTML-ized. Unless