diff options
-rw-r--r-- | ftp/spegla/files/patch-ba | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/spegla/files/patch-ba b/ftp/spegla/files/patch-ba new file mode 100644 index 000000000000..b5ea070a5e82 --- /dev/null +++ b/ftp/spegla/files/patch-ba @@ -0,0 +1,11 @@ +--- 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); |