call list_file for broken usages of nlst too

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8028 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2000-03-09 14:02:16 +00:00
parent 3b6efe344f
commit 2d6b3bbc99

View File

@@ -2133,8 +2133,8 @@ send_file_list(char *whichf)
*/
if (dirname[0] == '-' && *dirlist == NULL &&
transflag == 0) {
retrieve("/bin/ls -- %s", dirname);
goto out;
list_file(dirname);
goto out;
}
perror_reply(550, whichf);
if (dout != NULL) {