mirror of
https://github.com/curl/curl.git
synced 2026-06-02 02:05:10 +03:00
ftpserver.pl: Standardised CAPA and AUTH responses
This commit is contained in:
parent
8d2335ca23
commit
841103c776
1 changed files with 2 additions and 2 deletions
|
|
@ -1529,7 +1529,7 @@ sub CAPA_pop3 {
|
|||
my ($testno) = @_;
|
||||
|
||||
if((!@capabilities) && (!@auth_mechs)) {
|
||||
sendcontrol "-ERR Unsupported command: 'CAPA'\r\n";
|
||||
sendcontrol "-ERR Unrecognized command\r\n";
|
||||
}
|
||||
else {
|
||||
my @data = ();
|
||||
|
|
@ -1573,7 +1573,7 @@ sub AUTH_pop3 {
|
|||
my ($testno) = @_;
|
||||
|
||||
if(!@auth_mechs) {
|
||||
sendcontrol "-ERR Unsupported command: 'AUTH'\r\n";
|
||||
sendcontrol "-ERR Unrecognized command\r\n";
|
||||
}
|
||||
else {
|
||||
my @data = ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue