From: Steve Holme Date: Wed, 18 Sep 2013 18:37:32 +0000 (+0100) Subject: ftpserver.pl: Standardised CAPA and AUTH responses X-Git-Tag: curl-7_33_0~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=841103c77682b7e24ed8b6049f5b4d126b2b7ed4;p=thirdparty%2Fcurl.git ftpserver.pl: Standardised CAPA and AUTH responses --- diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 83fdfc20a0..4f5bbbbe2f 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 = ();