mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-12-23 11:21:49 +01:00
print command when it was invalid
This commit is contained in:
parent
5b70094d72
commit
995598e41f
@ -963,7 +963,10 @@ ftp_session_read_command(ftp_session_t *session)
|
|||||||
|
|
||||||
/* execute the command */
|
/* execute the command */
|
||||||
if(command == NULL)
|
if(command == NULL)
|
||||||
ftp_send_response(session, 502, "invalid command\r\n");
|
{
|
||||||
|
ftp_send_response(session, 502, "invalid command -> %s %s\r\n",
|
||||||
|
key.name, args);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
command->handler(session, args);
|
command->handler(session, args);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user