ba6b2857d7
spegla to interoperate with lukemftpd. A patch to lukemftpd will allow prior versions of spegla to work correctly. Found by: The update of releng4
12 lines
373 B
Plaintext
12 lines
373 B
Plaintext
--- jftp.c.orig Fri Sep 27 12:46:43 2002
|
|
+++ jftp.c Fri Sep 27 12:47:55 2002
|
|
@@ -980,7 +980,7 @@
|
|
/* Late versions of wu-ftpd does some kind of recursive
|
|
* listing if only a '.' is given as directory.
|
|
*/
|
|
- if (strcmp(dir, ".") == 0)
|
|
+ if ((strcmp(dir, ".") == 0) || !*dir)
|
|
res = ftp_req(c, "list %s", flags);
|
|
else
|
|
res = ftp_req(c, "list %s %s", flags, dir);
|