1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00

ftpserver.pl: Standardised CAPA and AUTH responses

This commit is contained in:
Steve Holme 2013-09-18 19:37:32 +01:00
parent 8d2335ca23
commit 841103c776

View File

@ -1529,7 +1529,7 @@ sub CAPA_pop3 {
my ($testno) = @_; my ($testno) = @_;
if((!@capabilities) && (!@auth_mechs)) { if((!@capabilities) && (!@auth_mechs)) {
sendcontrol "-ERR Unsupported command: 'CAPA'\r\n"; sendcontrol "-ERR Unrecognized command\r\n";
} }
else { else {
my @data = (); my @data = ();
@ -1573,7 +1573,7 @@ sub AUTH_pop3 {
my ($testno) = @_; my ($testno) = @_;
if(!@auth_mechs) { if(!@auth_mechs) {
sendcontrol "-ERR Unsupported command: 'AUTH'\r\n"; sendcontrol "-ERR Unrecognized command\r\n";
} }
else { else {
my @data = (); my @data = ();