}
dir = l = NULL;
+ /* #### The next three lines are a memory leak because they don't
+ bother to free the pointer that read_whole_line() returns!
+ FIXME! */
+
/* Empty line */
read_whole_line (fp);
/* "Directory PUB$DEVICE[PUB]" */
return ftp_parse_unix_ls (file, TRUE);
default:
logprintf (LOG_NOTQUIET, _("\
-Usupported listing type, trying Unix listing parser.\n"));
+Unsupported listing type, trying Unix listing parser.\n"));
return ftp_parse_unix_ls (file, FALSE);
}
}
directories and files on the appropriate host. The references are
FTP. */
uerr_t
-ftp_index (const char *file, struct urlinfo *u, struct fileinfo *f)
+ftp_index (const char *file, struct url *u, struct fileinfo *f)
{
FILE *fp;
char *upwd;