File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -844,8 +844,10 @@ static void cmd_MLST(struct client_info *client)
844
844
{
845
845
char path [PATH_MAX ];
846
846
if (gen_ftp_path (path , sizeof (path ), client , client -> cmd_args )
847
- || !ftp_file_exists (path ))
847
+ || !ftp_file_exists (path )) {
848
848
send_ctrl_msg (client , RC_550 );
849
+ return ;
850
+ }
849
851
850
852
sendf_ctrl_msg (client , "250-Listing %s" CRLF ,
851
853
client -> cmd_args ? client -> cmd_args : client -> cur_path );
Original file line number Diff line number Diff line change 11
11
#define FILE_BUF_SIZE 8192
12
12
#define DEFAULT_PATH "/"
13
13
#define DEFAULT_PORT 1337
14
- #define RELEASE_VERSION "v1.08 "
14
+ #define RELEASE_VERSION "v1.08a "
15
15
16
16
// Default FTP reply codes -----------------------------------------------------
17
17
// Commented reply codes mean their string needs to be generated dynamically.
You can’t perform that action at this time.
0 commit comments