ftpserver.pl: Standardised CAPA and AUTH responses
authorSteve Holme <steve_holme@hotmail.com>
Wed, 18 Sep 2013 18:37:32 +0000 (19:37 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 18 Sep 2013 18:38:26 +0000 (19:38 +0100)
tests/ftpserver.pl

index 83fdfc2..4f5bbbb 100755 (executable)
@@ -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 = ();