aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-09-18 19:37:32 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-09-18 19:38:26 +0100
commit841103c77682b7e24ed8b6049f5b4d126b2b7ed4 (patch)
treee518a257a76ce1242489c8e391e0aca4738ce7b8
parent8d2335ca2361349872e7fc38f241bac569dca32d (diff)
ftpserver.pl: Standardised CAPA and AUTH responses
-rwxr-xr-xtests/ftpserver.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index 83fdfc20a..4f5bbbbe2 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -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 = ();